-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Add bin/build to gitignore (#16)
- Loading branch information
1 parent
0a098a0
commit ee65da2
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ crash.log | |
|
||
# Mac | ||
.DS_Store | ||
build | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |