summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-08-06 15:37:08 -0400
committerRuben Pollan <meskio@sindominio.net>2019-08-06 16:22:14 -0400
commit5d9922242240667964e774af89141ff7bfd55132 (patch)
tree1dd8139f3bcbbf79187f0f9cdf77b3cad96da150 /Makefile
parent29e514d384a40b135923f76aca2406b6a3091198 (diff)
[pkg] add cross pkg for win and osx
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b980b1..287715d 100644
--- a/Makefile
+++ b/Makefile
@@ -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