hydra-werther/packages.mk

19 lines
286 B
Makefile

bin: clean generate
CGO_ENABLED=-1 misc/script/build
generate:
go generate ./...
clean:
rm -rf bin
package: dist bin
PACKAGE_VERSION=$(PACKAGE_VERSION) \
nfpm package \
--config misc/packaging/nfpm.yml \
--target ./dist \
--packager $(NFPM_PACKAGER)
dist:
mkdir -p dist