diff --git a/.gitignore b/.gitignore index 7b4efdd..e3ec551 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -terraform-provider-n0stack +terraform-provider-n0stack* ### https://raw.github.com/github/gitignore/21419e391a78f2487340b3b1240b988aaf15b54f/Go.gitignore diff --git a/crosscompile.sh b/crosscompile.sh new file mode 100755 index 0000000..826914c --- /dev/null +++ b/crosscompile.sh @@ -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