27 lines
632 B
Plaintext
27 lines
632 B
Plaintext
modd.conf {}
|
|
|
|
**/*.go go.mod go.sum {
|
|
prep: go test ./...
|
|
prep: mkdir -p dist
|
|
prep: go build -o dist/ -trimpath ./...
|
|
#prep: docker build --build-arg GOPROXY=$GOPROXY -t dls .
|
|
#daemon +sigterm: /var/lib/direktil/test-run
|
|
}
|
|
|
|
html/**/* {
|
|
prep: go build -o dist/ -trimpath ./cmd/dkl-local-server
|
|
}
|
|
|
|
dist/dkl-local-server {
|
|
prep: mkdir -p tmp
|
|
daemon +sigterm: dist/dkl-local-server -data tmp -auto-unlock test
|
|
}
|
|
|
|
dist/dkl-dir2config {
|
|
prep: dist/dkl-dir2config --debug --in test-dir2config
|
|
}
|
|
|
|
**/*.proto !dist/**/* {
|
|
prep: for mod in @mods; do protoc -I ./ --go_out=plugins=grpc,paths=source_relative:. $mod; done
|
|
}
|