This repository was archived by the owner on Jun 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -13,34 +13,34 @@ SET GOARCH=amd64
1313
1414SET GOOS = windows
1515echo --^ > Compiling Windows
16- go build -o release\fgit-windows-amd64.exe fgit.go
16+ go build -ldflags= " -s -w " - o release\fgit-windows-amd64.exe fgit.go
1717SET GOOS = darwin
1818echo --^ > Compiling Darwin
19- go build -o release\fgit-darwin-amd64 fgit.go
19+ go build -ldflags= " -s -w " - o release\fgit-darwin-amd64 fgit.go
2020SET GOOS = linux
2121echo --^ > Compiling Linux
22- go build -o release\fgit-linux-amd64 fgit.go
22+ go build -ldflags= " -s -w " - o release\fgit-linux-amd64 fgit.go
2323
2424SET GOARCH = 386
2525echo -^ > Compiling 386
2626SET GOOS = windows
2727echo --^ > Compiling Windows
28- go build -o release\fgit-windows-386.exe fgit.go
28+ go build -ldflags= " -s -w " - o release\fgit-windows-386.exe fgit.go
2929SET GOOS = linux
3030echo --^ > Compiling Linux
31- go build -o release\fgit-linux-386 fgit.go
31+ go build -ldflags= " -s -w " - o release\fgit-linux-386 fgit.go
3232
3333
3434SET GOARCH = arm
3535echo -^ > Compiling ARM
3636SET GOOS = linux
3737echo --^ > Compiling Linux
38- go build -o release\fgit-linux-arm fgit.go
38+ go build -ldflags= " -s -w " - o release\fgit-linux-arm fgit.go
3939
4040SET GOARCH = arm64
4141echo -^ > Compiling ARM64
4242SET GOOS = linux
4343echo --^ > Compiling Linux
44- go build -o release\fgit-linux-arm64 fgit.go
44+ go build -ldflags= " -s -w " - o release\fgit-linux-arm64 fgit.go
4545
46- pause
46+ pause
You can’t perform that action at this time.
0 commit comments