README.md update

give up with darwin i386 build
This commit is contained in:
rumanzo 2022-03-30 03:23:02 +03:00
parent cca7869d2a
commit 9e3eb528c1
2 changed files with 2 additions and 5 deletions

View File

@ -6,14 +6,13 @@
#GOOS=darwin GOARCH=386 go build -o bt2qbt_v${1}_i386_macos -tags forceposix
gotag=1.18.0-bullseye
oldgotag=1.14.15-buster
commit=$(shell git rev-parse HEAD)
dockercmd=docker run --rm -v $(CURDIR):/usr/src/bt2qbt -w /usr/src/bt2qbt
buildtags = -tags forceposix
buildenvs = -e CGO_ENABLED=0
version = 1.999
version = 1999
ldflags = -ldflags="-X 'main.version=$(version)' -X 'main.commit=$(commit)' -X 'main.buildImage=golang:$(gotag)'"
all: tests build
@ -34,5 +33,3 @@ linux:
darwin:
$(dockercmd) $(buildenvs) -e GOOS=darwin -e GOARCH=amd64 golang:$(gotag) go build -v $(buildtags) $(ldflags) -o bt2qbt_v$(version)_amd64_macos
$(dockercmd) $(buildenvs) -e GOOS=darwin -e GOARCH=386 -e GO111MODULE=off golang:$(oldgotag) bash -c "go get -v && go build -v $(buildtags) -ldflags="-X 'main.version=$(version)' -X 'main.commit=$(commit)' -X 'main.buildImage=golang:$(oldgotag)'" -o bt2qbt_v$(version)_i386_macos"

View File

@ -2,7 +2,7 @@
bt2qbt is cli tool for export from uTorrent\Bittorrent into qBittorrent (convert)
> [!IMPORTANT]
Actual version tested with uTorrent 3.5.5 (build 46206) and qBittorrent 4.4.2
> Actual version tested with uTorrent 3.5.5 (build 46206) and qBittorrent 4.4.2
- [bt2qbt](#bt2qbt)
- [Feature](#user-content-feature)