mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
change compile prior
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PLATFORMS=(
|
PLATFORMS=(
|
||||||
'linux/arm64' 'linux/arm7' 'linux/arm5'
|
'linux/arm64' 'linux/arm7' 'linux/amd64'
|
||||||
'linux/amd64' 'linux/386'
|
'linux/arm5' 'linux/386'
|
||||||
'windows/amd64' 'windows/386'
|
'windows/amd64' 'windows/386'
|
||||||
'darwin/amd64' 'darwin/arm64'
|
'darwin/amd64' 'darwin/arm64'
|
||||||
'freebsd/amd64'
|
'freebsd/amd64'
|
||||||
@@ -40,7 +40,7 @@ cp "${ROOT}/web/dest/index.html" "${ROOT}/server/web/pages/template/pages/"
|
|||||||
#### Build server
|
#### Build server
|
||||||
echo "Build server"
|
echo "Build server"
|
||||||
cd "${ROOT}/server" || exit 1
|
cd "${ROOT}/server" || exit 1
|
||||||
$GOBIN clean -i -r -cache #--modcache
|
#$GOBIN clean -i -r -cache #--modcache
|
||||||
$GOBIN mod tidy
|
$GOBIN mod tidy
|
||||||
|
|
||||||
BUILD_FLAGS="-ldflags=${LDFLAGS}"
|
BUILD_FLAGS="-ldflags=${LDFLAGS}"
|
||||||
|
|||||||
Reference in New Issue
Block a user