Skip to content

Commit

Permalink
Fix vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
CWSpear committed Nov 3, 2016
1 parent 674ca29 commit d1dd0db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ binary:
go build -o bin/$(BIN_NAME) -v

# build all the binaries
binaries: export GO15VENDOREXPERIMENT=1
binaries: clean-bin binary-linux-amd64 # binary-linux-386 binary-linux-arm binary-freebsd-amd64 binary-freebsd-386

clean-bin:
Expand All @@ -37,29 +36,34 @@ clean-bin:
# build a specific binary
binary-linux-amd64: export GOOS=linux
binary-linux-amd64: export GOARCH=amd64
binary-linux-amd64: export GO15VENDOREXPERIMENT=1
binary-linux-amd64:
go build -o bin/$(GOOS)/$(GOARCH)/$(BIN_NAME) -v

# docker doesn't currently support x32 architecture
# binary-linux-386: export GOOS=linux
# binary-linux-386: export GOARCH=386
# binary-linux-386: export GO15VENDOREXPERIMENT=1
# binary-linux-386:
# go build -o bin/$(GOOS)/$(GOARCH)/$(BIN_NAME) -v

# docker doesn't currently support arm architecture
# binary-linux-arm: export GOOS=linux
# binary-linux-arm: export GOARCH=arm
# binary-linux-arm: export GO15VENDOREXPERIMENT=1
# binary-linux-arm:
# go build -o bin/$(GOOS)/$(GOARCH)/$(BIN_NAME) -v

# cowardly unwilling to support other architectures for now
# binary-freebsd-amd64: export GOOS=freebsd
# binary-freebsd-amd64: export GOARCH=amd64
# binary-freebsd-amd64: export GO15VENDOREXPERIMENT=1
# binary-freebsd-amd64:
# go build -o bin/$(GOOS)/$(GOARCH)/$(BIN_NAME) -v

# docker doesn't currently support x32 architecture
# binary-freebsd-386: export GOOS=freebsd
# binary-freebsd-386: export GOARCH=386
# binary-freebsd-386: export GO15VENDOREXPERIMENT=1
# binary-freebsd-386:
# go build -o bin/$(GOOS)/$(GOARCH)/$(BIN_NAME) -v

0 comments on commit d1dd0db

Please sign in to comment.