Skip to content

Commit

Permalink
adding default build with local arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Greer authored Jun 30, 2021
1 parent 3a92d24 commit 8b353a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

SHELL := /bin/bash # Use bash syntax

build:
go build -v -o out/

build-mac:
GOOS=darwin GOARCH=amd64 go build -v -o out/

build-linux:
GOOS=linux GOARCH=amd64 go build -v -o out/
GOOS=linux GOARCH=amd64 go build -v -o out/

0 comments on commit 8b353a8

Please sign in to comment.