Compare commits

..

No commits in common. "master" and "1.0.0" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -21,12 +21,6 @@ $ 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
View File

@ -2,17 +2,15 @@
. ./package.env . ./package.env
rm -f $(find . -type f | grep -E ^\./bfile_cli.\*) rm $(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" . &