|
@ -81,7 +81,7 @@ release-build: |
|
|
@which gox > /dev/null; if [ $$? -ne 0 ]; then \
|
|
|
@which gox > /dev/null; if [ $$? -ne 0 ]; then \
|
|
|
$(GO) get -u github.com/mitchellh/gox; \
|
|
|
$(GO) get -u github.com/mitchellh/gox; \
|
|
|
fi |
|
|
fi |
|
|
gox -os="$(TARGETS)" -arch="amd64 386" -tags="$(TAGS)" -ldflags="-s -w $(LDFLAGS)" -output="$(DIST)/binaries/$(EXECUTABLE)-$(VERSION)-{{.OS}}-{{.Arch}}" |
|
|
gox -os="$(TARGETS)" -arch="amd64" -tags="$(TAGS)" -ldflags="-s -w $(LDFLAGS)" -output="$(DIST)/binaries/$(EXECUTABLE)-$(VERSION)-{{.OS}}-{{.Arch}}" |
|
|
|
|
|
|
|
|
release-copy: |
|
|
release-copy: |
|
|
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));) |
|
|
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));) |
|
|