diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 9e28dc2..695c129 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all build-binaries clean +.PHONY: all build-binaries clean build-environment all: build-binaries @@ -13,6 +13,9 @@ BINARIES = bin/x509-info bin/flake-info ALL_BINARIES = $(foreach binary, $(BINARIES), ./$(binary)) +build-environment: + @./ci/build-environment.py + bin/%: go build -o $@ \ -ldflags "-X $(PKG)/internal/version.Version=${VERSION} -X $(PKG)/internal/version.BuildDate=${BUILD_DATE}" \ |