Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 5dec18e

Browse files
committed
[proj] move proj -> src
1 parent 636e750 commit 5dec18e

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,35 @@ jobs:
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

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
release
1+
release
2+
release\*

build.bat

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,34 @@ SET GOARCH=amd64
1313

1414
SET GOOS=windows
1515
echo --^> 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
1717
SET GOOS=darwin
1818
echo --^> 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
2020
SET GOOS=linux
2121
echo --^> 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

2424
SET GOARCH=386
2525
echo -^> Compiling 386
2626
SET GOOS=windows
2727
echo --^> 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
2929
SET GOOS=linux
3030
echo --^> 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

3434
SET GOARCH=arm
3535
echo -^> Compiling ARM
3636
SET GOOS=linux
3737
echo --^> 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

4040
SET GOARCH=arm64
4141
echo -^> Compiling ARM64
4242
SET GOOS=linux
4343
echo --^> 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

4646
pause
File renamed without changes.

0 commit comments

Comments
 (0)