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

Commit bf69a78

Browse files
committed
build script
1 parent 42f82f5 commit bf69a78

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
terraform-provider-n0stack
1+
terraform-provider-n0stack*
22

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

crosscompile.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
GOARCH=amd64
4+
5+
GOOS=darwin
6+
go build -o terraform-provider-n0stack-$GOOS-$GOARCH
7+
8+
GOOS=linux
9+
go build -o terraform-provider-n0stack-$GOOS-$GOARCH
10+
11+
GOOS=windows
12+
go build -o terraform-provider-n0stack-$GOOS-$GOARCH

0 commit comments

Comments
 (0)