mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-09 20:32:33 +01:00
README.md update
give up with darwin i386 build
This commit is contained in:
parent
cca7869d2a
commit
9e3eb528c1
5
Makefile
5
Makefile
@ -6,14 +6,13 @@
|
|||||||
#GOOS=darwin GOARCH=386 go build -o bt2qbt_v${1}_i386_macos -tags forceposix
|
#GOOS=darwin GOARCH=386 go build -o bt2qbt_v${1}_i386_macos -tags forceposix
|
||||||
|
|
||||||
gotag=1.18.0-bullseye
|
gotag=1.18.0-bullseye
|
||||||
oldgotag=1.14.15-buster
|
|
||||||
|
|
||||||
commit=$(shell git rev-parse HEAD)
|
commit=$(shell git rev-parse HEAD)
|
||||||
|
|
||||||
dockercmd=docker run --rm -v $(CURDIR):/usr/src/bt2qbt -w /usr/src/bt2qbt
|
dockercmd=docker run --rm -v $(CURDIR):/usr/src/bt2qbt -w /usr/src/bt2qbt
|
||||||
buildtags = -tags forceposix
|
buildtags = -tags forceposix
|
||||||
buildenvs = -e CGO_ENABLED=0
|
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)'"
|
ldflags = -ldflags="-X 'main.version=$(version)' -X 'main.commit=$(commit)' -X 'main.buildImage=golang:$(gotag)'"
|
||||||
|
|
||||||
all: tests build
|
all: tests build
|
||||||
@ -34,5 +33,3 @@ linux:
|
|||||||
|
|
||||||
darwin:
|
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=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"
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
bt2qbt is cli tool for export from uTorrent\Bittorrent into qBittorrent (convert)
|
bt2qbt is cli tool for export from uTorrent\Bittorrent into qBittorrent (convert)
|
||||||
> [!IMPORTANT]
|
> [!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)
|
- [bt2qbt](#bt2qbt)
|
||||||
- [Feature](#user-content-feature)
|
- [Feature](#user-content-feature)
|
||||||
|
Loading…
Reference in New Issue
Block a user