Skip to content

Commit

Permalink
fixing exec perms on nix executables
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Endicott committed Oct 19, 2018
1 parent 0e5bd9c commit f4c29e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ build-linux:
export GOOS="linux"
export GOARCH="amd64"
go build -o ./$(build_dir_linux)/gossamer -ldflags "-X main.version=$(version)"
chmod +x ./$(build_dir_linux)/gossamer
@cd ./$(build_dir_linux) && tar zcf ../$(build_dir)/$(packageNameNix) .

build-mac:
export GOOS="darwin"
export GOARCH="amd64"
go build -o ./$(build_dir_mac)/gossamer -ldflags "-X main.version=$(version)"
./$(build_dir_mac)/gossamer
@cd ./$(build_dir_mac) && tar zcf ../$(build_dir)/$(packageNameMac) .

build-windows:
Expand Down

0 comments on commit f4c29e4

Please sign in to comment.