diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-07 22:49:24 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-07 23:03:45 +0200 |
commit | dbe330b8796ca9f403b5d5fe2133726ba504a803 (patch) | |
tree | a7b0ff095ebf574239719b316af0b204fad0b312 /Makefile | |
parent | cefd0857d1f6d798fedd2e6495a026d0b1de936b (diff) |
[pkg] missing snap boilerplate
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -53,7 +53,7 @@ get: # when we can depend on go 1.11 we don't need the get step anymore -build: get $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path))) +build: get $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path))) build_done build_%: go build -tags $(TAGS) -ldflags "-s -w -X main.version=`git describe --tags`" -o $* ./cmd/$* @@ -79,6 +79,9 @@ CROSS_OSX_FLAGS = MACOSX_DEPLOYMENT_TARGET=10.10 CGO_ENABLED=1 GOOS=darwin CC="o build_cross_osx: $(CROSS_OSX_FLAGS) $(MAKE) build +build_done: + @echo + @echo 'Done. You can do "make packages" now.' clean: @rm -rf build/ |