diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-08-06 15:37:08 -0400 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-08-06 16:22:14 -0400 |
commit | 5d9922242240667964e774af89141ff7bfd55132 (patch) | |
tree | 1dd8139f3bcbbf79187f0f9cdf77b3cad96da150 /Makefile | |
parent | 29e514d384a40b135923f76aca2406b6a3091198 (diff) |
[pkg] add cross pkg for win and osx
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ build: $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path))) build_%: go build -tags $(TAGS) -ldflags "-X main.version=`git describe --tags`" -o $* ./cmd/$* - -@strip $* + -# doesn't work for cross compile: @strip $* @mkdir -p build/bin @mv $* build/bin/ -@rm -rf build/${PROVIDER}/staging && mkdir -p build/${PROVIDER}/staging |