Skip to content

Commit

Permalink
Build distributions executables with Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaldekloe committed Nov 16, 2016
1 parent 3d56a90 commit df4ba14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
clean:
go clean ./...
rm -fr dist
rm -f cmd/colf/colf
rm -f testdata/*-fuzz.zip
rm -fr testdata/build testdata/bench/build
Expand Down Expand Up @@ -41,6 +42,10 @@ bench: build

dist: clean-gen test regression clean
go fmt
mkdir -p dist
GOARCH=amd64 GOOS=linux go build -o dist/colf-linux ./cmd/colf
GOARCH=amd64 GOOS=darwin go build -o dist/colf-darwin ./cmd/colf
GOARCH=amd64 GOOS=windows go build -o dist/colf.exe ./cmd/colf

fuzzing:
rm testdata/corpus/seed*
Expand Down

0 comments on commit df4ba14

Please sign in to comment.