Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
blek | 4bf905a9af | |
blek | 0d676eeedb | |
blek | fee20cb147 | |
blek | f893b5ac4b |
|
@ -21,6 +21,12 @@ $ go build . -ldflags "-s -w -X main.version=$VERSION"
|
||||||
$ ./bfile_cli
|
$ ./bfile_cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Installing
|
||||||
|
Arch (AUR)
|
||||||
|
```sh
|
||||||
|
$ paru -S bfile-cli # or yay
|
||||||
|
```
|
||||||
|
|
||||||
## Debugging
|
## Debugging
|
||||||
Same as the build, I guess. I am not really a go programmer, but I suppose that if you want to debug this, you already know the go way to debug a CLI app and this section is useless for you.
|
Same as the build, I guess. I am not really a go programmer, but I suppose that if you want to debug this, you already know the go way to debug a CLI app and this section is useless for you.
|
||||||
|
|
||||||
|
|
4
ci.sh
4
ci.sh
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
. ./package.env
|
. ./package.env
|
||||||
|
|
||||||
rm $(find . -type f | grep -E ^\./bfile_cli.\*)
|
rm -f $(find . -type f | grep -E ^\./bfile_cli.\*)
|
||||||
|
|
||||||
GOOS=linux GOARCH=386 go build -o "bfile_cli.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=linux GOARCH=386 go build -o "bfile_cli.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=linux GOARCH=amd64 go build -o "bfile_cli.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=linux GOARCH=amd64 go build -o "bfile_cli.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=linux GOARCH=arm64 go build -o "bfile_cli.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=linux GOARCH=arm64 go build -o "bfile_cli.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=linux GOARCH=arm go build -o "bfile_cli.linux.arm" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
GOOS=windows GOARCH=386 go build -o "bfile_cli.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=windows GOARCH=386 go build -o "bfile_cli.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=windows GOARCH=amd64 go build -o "bfile_cli.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=windows GOARCH=amd64 go build -o "bfile_cli.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=windows GOARCH=arm64 go build -o "bfile_cli.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=windows GOARCH=arm64 go build -o "bfile_cli.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=windows GOARCH=arm go build -o "bfile_cli.windows.arm" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
GOOS=darwin GOARCH=amd64 go build -o "bfile_cli.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=darwin GOARCH=amd64 go build -o "bfile_cli.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=darwin GOARCH=arm64 go build -o "bfile_cli.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=darwin GOARCH=arm64 go build -o "bfile_cli.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
Loading…
Reference in New Issue