2023-02-07 20:29:19 +00:00
|
|
|
modd.conf {}
|
|
|
|
|
|
|
|
**/*.go go.mod go.sum {
|
2019-01-30 03:06:49 +00:00
|
|
|
prep: go test ./...
|
2023-02-07 20:29:19 +00:00
|
|
|
prep: mkdir -p dist
|
|
|
|
prep: go build -o dist/ -trimpath ./...
|
|
|
|
#prep: docker build --build-arg GOPROXY=$GOPROXY -t dls .
|
2019-01-30 03:06:49 +00:00
|
|
|
#daemon +sigterm: /var/lib/direktil/test-run
|
2018-12-10 10:59:24 +00:00
|
|
|
}
|
2020-10-02 03:29:04 +00:00
|
|
|
|
2023-02-07 20:29:19 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-10-02 03:29:04 +00:00
|
|
|
**/*.proto !dist/**/* {
|
|
|
|
prep: for mod in @mods; do protoc -I ./ --go_out=plugins=grpc,paths=source_relative:. $mod; done
|
|
|
|
}
|