This repository was archived by the owner on Jun 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-16
lines changed
Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 88 - image : circleci/golang:1.14
99 working_directory : /go/src/github.com/fastgitorg/fgit-go
1010 environment :
11- CGO_ENABLED : 0
11+ CGO_ENABLED : " 0 "
1212 steps :
1313 - checkout
1414 - run :
1515 name :
1616 Build AMD64
1717 command : |
18- GOARCH=amd64 GOOS=windows go build -ldflags "-s -w" -o ~/release/fgit-windows-amd64.exe fgit.go
19- GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w" -o ~/release/fgit-darwin-amd64 fgit.go
20- GOARCH=amd64 GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-amd64 fgit.go
18+ GOARCH=amd64 GOOS=windows go build -ldflags "-s -w" -o ~/release/fgit-windows-amd64.exe src/ fgit.go
19+ GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w" -o ~/release/fgit-darwin-amd64 src/ fgit.go
20+ GOARCH=amd64 GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-amd64 src/ fgit.go
2121
2222 - run :
2323 name :
2424 Build 386
2525 command : |
26- GOARCH=386 GOOS=windows go build -ldflags "-s -w" -o ~/release/fgit-windows-386.exe fgit.go
27- GOARCH=386 GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-386 fgit.go
26+ GOARCH=386 GOOS=windows go build -ldflags "-s -w" -o ~/release/fgit-windows-386.exe src/ fgit.go
27+ GOARCH=386 GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-386 src/ fgit.go
2828
2929 - run :
3030 name :
3131 Build ARM
3232 command : |
33- GOARCH=arm GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-arm fgit.go
33+ GOARCH=arm GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-arm src/ fgit.go
3434
3535 - run :
3636 name :
3737 Build ARM64
3838 command : |
39- GOARCH=arm64 GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-arm64 fgit.go
39+ GOARCH=arm64 GOOS=linux go build -ldflags "-s -w" -o ~/release/fgit-linux-arm64 src/ fgit.go
4040
4141 - store_artifacts :
4242 path : ~/release
Original file line number Diff line number Diff line change 1- release
1+ release
2+ release \*
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 -ldflags=" -s -w" -o release\fgit-windows-amd64.exe fgit.go
16+ go build -ldflags=" -s -w" -o release\fgit-windows-amd64.exe src\ fgit.go
1717SET GOOS = darwin
1818echo --^ > Compiling Darwin
19- go build -ldflags=" -s -w" -o release\fgit-darwin-amd64 fgit.go
19+ go build -ldflags=" -s -w" -o release\fgit-darwin-amd64 src\ fgit.go
2020SET GOOS = linux
2121echo --^ > Compiling Linux
22- go build -ldflags=" -s -w" -o release\fgit-linux-amd64 fgit.go
22+ go build -ldflags=" -s -w" -o release\fgit-linux-amd64 src\ fgit.go
2323
2424SET GOARCH = 386
2525echo -^ > Compiling 386
2626SET GOOS = windows
2727echo --^ > Compiling Windows
28- go build -ldflags=" -s -w" -o release\fgit-windows-386.exe fgit.go
28+ go build -ldflags=" -s -w" -o release\fgit-windows-386.exe src\ fgit.go
2929SET GOOS = linux
3030echo --^ > Compiling Linux
31- go build -ldflags=" -s -w" -o release\fgit-linux-386 fgit.go
31+ go build -ldflags=" -s -w" -o release\fgit-linux-386 src\ fgit.go
3232
3333
3434SET GOARCH = arm
3535echo -^ > Compiling ARM
3636SET GOOS = linux
3737echo --^ > Compiling Linux
38- go build -ldflags=" -s -w" -o release\fgit-linux-arm fgit.go
38+ go build -ldflags=" -s -w" -o release\fgit-linux-arm src\ fgit.go
3939
4040SET GOARCH = arm64
4141echo -^ > Compiling ARM64
4242SET GOOS = linux
4343echo --^ > Compiling Linux
44- go build -ldflags=" -s -w" -o release\fgit-linux-arm64 fgit.go
44+ go build -ldflags=" -s -w" -o release\fgit-linux-arm64 src\ fgit.go
4545
4646pause
File renamed without changes.
You can’t perform that action at this time.
0 commit comments