Skip to content

Commit

Permalink
Fix: Add bin/build to gitignore (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
paperspace-philip authored Jul 30, 2020
1 parent 0a098a0 commit ee65da2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ crash.log

# Mac
.DS_Store
build
/build
12 changes: 12 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

function usage {
echo "build"
exit 1
}

GOOS=darwin GOARCH=amd64 go build -o ${DIR}/../build/terraform-provider-paperspace-darwin-amd64 ${DIR}/../src/terraform-provider-paperspace
GOOS=linux GOARCH=amd64 go build -o ${DIR}/../build/terraform-provider-paperspace-linux-amd64 ${DIR}/../src/terraform-provider-paperspace
GOOS=windows GOARCH=amd64 go build -o ${DIR}/../build/terraform-provider-paperspace-windows-amd64.exe ${DIR}/../src/terraform-provider-paperspace

0 comments on commit ee65da2

Please sign in to comment.