fix the "all" build

This commit is contained in:
Cory Bennett
2015-07-01 10:20:48 -07:00
parent 4f45159dbf
commit 6374897b58
+2 -1
View File
@@ -28,12 +28,13 @@ cross-setup:
done done
all: all:
rm -rf $(DIST); \
mkdir -p $(DIST); \ mkdir -p $(DIST); \
cd src/github.com/Netflix-Skunkworks/go-jira/jira; \ cd src/github.com/Netflix-Skunkworks/go-jira/jira; \
go get -d; \ go get -d; \
for p in $(PLATFORMS); do \ for p in $(PLATFORMS); do \
echo "Building for $$p"; \ echo "Building for $$p"; \
cd $(GOPATH)/src/github.com/Netflix-Skunkworks/go-jira/jira GOOS=$${p/-*/} GOARCH=$${p/*-/} go build -v -ldflags -s -o $(DIST)/jira-$$p; \ GOOS=$${p/-*/} GOARCH=$${p/*-/} go build -v -ldflags -s -o $(DIST)/jira-$$p; \
done done
fmt: fmt: