Skip to content

Commit

Permalink
added simple build script to quickly build macos, linux, freebsd vers…
Browse files Browse the repository at this point in the history
…ions of the tool
  • Loading branch information
noctarius committed Aug 23, 2021
1 parent c799e4a commit 1dab626
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ makedep.mk
as2make
*.darwin
*.linux
*.freebsd
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
echo "Building Macos version... "
GOOS=darwin GOARCH=amd64 go build -o as2make.darwin .
echo "Building Linux version... "
GOOS=linux GOARCH=amd64 go build -o as2make.linux .
echo "Building FreeBSD version... "
GOOS=freebsd GOARCH=amd64 go build -o as2make.freebsd .

0 comments on commit 1dab626

Please sign in to comment.