mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
fix compile go 1.16
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
PLATFORMS=""
|
PLATFORMS=""
|
||||||
PLATFORMS="$PLATFORMS linux/amd64 linux/386"
|
PLATFORMS="$PLATFORMS linux/amd64 linux/386"
|
||||||
PLATFORMS="$PLATFORMS windows/amd64 windows/386" # arm compilation not available for Windows
|
PLATFORMS="$PLATFORMS windows/amd64 windows/386" # arm compilation not available for Windows
|
||||||
PLATFORMS="$PLATFORMS darwin/amd64" # amd64 only as of go1.5
|
PLATFORMS="$PLATFORMS darwin/amd64 darwin/arm64"
|
||||||
PLATFORMS="$PLATFORMS freebsd/amd64"
|
PLATFORMS="$PLATFORMS freebsd/amd64"
|
||||||
PLATFORMS="$PLATFORMS linux/mips linux/mipsle linux/mips64 linux/mips64le" # experimental in go1.6
|
PLATFORMS="$PLATFORMS linux/mips linux/mipsle linux/mips64 linux/mips64le" # experimental in go1.6
|
||||||
#PLATFORMS="$PLATFORMS linux/arm linux/arm64"
|
#PLATFORMS="$PLATFORMS linux/arm linux/arm64"
|
||||||
@@ -23,6 +23,8 @@ PLATFORMS_ARM="linux"
|
|||||||
type setopt >/dev/null 2>&1
|
type setopt >/dev/null 2>&1
|
||||||
|
|
||||||
export GOPATH="${PWD}"
|
export GOPATH="${PWD}"
|
||||||
|
export GO111MODULE=auto
|
||||||
|
|
||||||
GOBIN="/usr/local/go/bin/go"
|
GOBIN="/usr/local/go/bin/go"
|
||||||
|
|
||||||
go run build_web.go
|
go run build_web.go
|
||||||
|
|||||||
2
deps.sh
2
deps.sh
@@ -1,9 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export GOPATH="${PWD}"
|
export GOPATH="${PWD}"
|
||||||
|
export GO111MODULE=auto
|
||||||
|
|
||||||
go get -v github.com/pkg/browser
|
go get -v github.com/pkg/browser
|
||||||
go get -v github.com/alexflint/go-arg
|
go get -v github.com/alexflint/go-arg
|
||||||
|
go get -v golang.org/x/time/rate
|
||||||
go get -v github.com/anacrolix/dht
|
go get -v github.com/anacrolix/dht
|
||||||
go get -v github.com/anacrolix/missinggo/httptoo
|
go get -v github.com/anacrolix/missinggo/httptoo
|
||||||
go get -v github.com/anacrolix/torrent
|
go get -v github.com/anacrolix/torrent
|
||||||
|
|||||||
Reference in New Issue
Block a user