Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
onokatio committed Dec 24, 2019
1 parent 42f82f5 commit bf69a78
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
@@ -1,4 +1,4 @@
terraform-provider-n0stack
terraform-provider-n0stack*

### https://raw.github.com/github/gitignore/21419e391a78f2487340b3b1240b988aaf15b54f/Go.gitignore

Expand Down
12 changes: 12 additions & 0 deletions crosscompile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

GOARCH=amd64

GOOS=darwin
go build -o terraform-provider-n0stack-$GOOS-$GOARCH

GOOS=linux
go build -o terraform-provider-n0stack-$GOOS-$GOARCH

GOOS=windows
go build -o terraform-provider-n0stack-$GOOS-$GOARCH

0 comments on commit bf69a78

Please sign in to comment.