We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2573b6 commit cdffe3eCopy full SHA for cdffe3e
.gitignore
@@ -22,3 +22,4 @@
22
23
# executable
24
/abc
25
+/build
build.sh
@@ -0,0 +1,18 @@
1
+#!/bin/sh
2
+# https://golang.org/doc/install/source#environment
3
+
4
+VERSION=0.1.0
5
6
+export GOARCH=amd64
7
8
+export GOOS=darwin
9
10
+go build -o "build/abc-${GOOS}-${VERSION}" -tags '!oss' ./cmd/abc/...
11
12
+export GOOS=windows
13
14
+go build -o "build/abc-${GOOS}-${VERSION}.exe" -tags '!oss' ./cmd/abc/...
15
16
+export GOOS=linux
17
18
0 commit comments