2022-02-04 18:59:42 +00:00
|
|
|
modd.conf {}
|
|
|
|
|
|
|
|
go.??? **/*.go {
|
2020-02-28 00:30:10 +00:00
|
|
|
prep: go test ./...
|
2022-02-04 18:59:42 +00:00
|
|
|
prep: mkdir -p dist
|
2024-01-20 15:41:54 +00:00
|
|
|
prep: go build -o dist/init .
|
2022-02-04 18:59:42 +00:00
|
|
|
prep: go build -o dist/ ./tools/...
|
|
|
|
}
|
|
|
|
|
2024-06-28 19:54:17 +00:00
|
|
|
**/*.rs Cargo.* {
|
2024-04-29 10:54:25 +00:00
|
|
|
prep: cargo test
|
2024-05-14 22:59:57 +00:00
|
|
|
#prep: cargo build
|
2024-06-28 19:54:17 +00:00
|
|
|
prep: docker build --network host -t novit-initrd-gen .
|
|
|
|
prep: docker run --net=host --rm novit-initrd-gen |base64 -d >dist/initrd.new
|
2024-04-29 10:54:25 +00:00
|
|
|
}
|
|
|
|
|
2024-05-14 22:59:57 +00:00
|
|
|
#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
|
|
|
|
#}
|