File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,3 +21,13 @@ echo "Building for Linux 64-bit"
21
21
env GOOS=linux GOARCH=amd64 go build -ldflags=" -s -w -X main.CliVersion=$VERSION " -o /dist/ngssc_64bit main.go
22
22
cp /dist/ngssc_64bit /dist/ngssc_64bit_min
23
23
upx --brute /dist/ngssc_64bit_min
24
+
25
+ echo " Building for Darwin 32-bit"
26
+ env GOOS=darwin GOARCH=386 go build -ldflags=" -s -w -X main.CliVersion=$VERSION " -o /dist/ngssc_darwin_32bit main.go
27
+ cp /dist/ngssc_darwin_32bit /dist/ngssc_darwin_32bit_min
28
+ upx --brute /dist/ngssc_darwin_32bit_min
29
+
30
+ echo " Building for Darwin 64-bit"
31
+ env GOOS=darwin GOARCH=amd64 go build -ldflags=" -s -w -X main.CliVersion=$VERSION " -o /dist/ngssc_darwin_64bit main.go
32
+ cp /dist/ngssc_darwin_64bit /dist/ngssc_darwin_64bit_min
33
+ upx --brute /dist/ngssc_darwin_64bit_min
You can’t perform that action at this time.
0 commit comments