23 lines
593 B
Plaintext
23 lines
593 B
Plaintext
modd.conf {}
|
|
|
|
go.??? **/*.go {
|
|
prep: go test ./...
|
|
prep: mkdir -p dist
|
|
prep: go build -o dist/init .
|
|
prep: go build -o dist/ ./tools/...
|
|
}
|
|
|
|
**/*.rs Cargo.* {
|
|
prep: cargo test
|
|
#prep: cargo build
|
|
prep: docker build --network host -t novit-initrd-gen .
|
|
prep: docker run --net=host --rm novit-initrd-gen |base64 -d >dist/initrd.new
|
|
prep: mv dist/initrd.new dist/initrd
|
|
}
|
|
|
|
#dist/init Dockerfile {
|
|
# prep: docker build --network host -t novit-initrd-gen .
|
|
# prep: docker run --net=host --rm novit-initrd-gen |base64 -d >dist/initrd.new
|
|
# prep: mv dist/initrd.new dist/initrd
|
|
#}
|