From 0bb5d479ff89cbb3c797cef97427c18ca98ad219 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Sun, 18 Jul 2021 15:00:13 +0300 Subject: [PATCH] fix fresh build --- build-all.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build-all.sh b/build-all.sh index 3700cc5..fe34c8c 100755 --- a/build-all.sh +++ b/build-all.sh @@ -1,7 +1,7 @@ #!/bin/bash PLATFORMS=( - 'linux/arm64' + 'linux/arm64' 'linux/arm7' 'linux/amd64' 'linux/arm5' @@ -40,11 +40,11 @@ ROOT=${PWD} OUTPUT="${ROOT}/dist/TorrServer" #### Build web -echo "Build web" -cd "${ROOT}/web" || exit 1 -npm install --silent -cd "${ROOT}" -$GOBIN run gen_web.go || exit 1 +echo "Build web" + cd "${ROOT}/web" || exit 1 + npm install --silent + cd "${ROOT}" +$GOBIN run gen_web.go || exit 1 #### Build server echo "Build server"