Skip to content

Commit

Permalink
Merge branch 'master' of github.com:inguardians/peirates
Browse files Browse the repository at this point in the history
  • Loading branch information
JayBeale committed Aug 14, 2020
2 parents 6821490 + 4ce0d48 commit 2fac557
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
./peirates
dist/peirates-*
/peirates
/dist/peirates-*
/dist/peirates
.DS_Store
.vscode
4 changes: 2 additions & 2 deletions dist/dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

build() {
echo "$1"
GOOS=linux GOARCH="$1" go build -i ../cmd/peirates
GOOS=linux GOARCH="$1" go build -ldflags="-s -w" -i ../cmd/peirates
mkdir peirates-linux-"$1"
mv peirates peirates-linux-"$1"
tar cJf peirates-linux-"$1".tar.xz peirates-linux-"$1"
Expand All @@ -14,7 +14,7 @@ if [ -z $1 ] ; then
build amd64
build arm
build arm64
build 386
build 386
else
build $1
fi

0 comments on commit 2fac557

Please sign in to comment.