From 15e2cdba7d308714095fa1f01bd2d643447c80ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A4rt=20Kalmo?= Date: Sun, 21 May 2017 09:45:39 +0300 Subject: [PATCH] fixed checkout scripts --- checkout.bat | 4 +++- checkout.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/checkout.bat b/checkout.bat index 05569b3..b772acb 100644 --- a/checkout.bat +++ b/checkout.bat @@ -41,6 +41,8 @@ cd %SUB_DIR% call npm install -call npm run build +if "%TAG%" == "hw4" ( + call npm run build +) call npm start diff --git a/checkout.sh b/checkout.sh index a368d27..29b1d08 100755 --- a/checkout.sh +++ b/checkout.sh @@ -31,5 +31,5 @@ git clone https://bitbucket.org/${USER}/i399 $TMP git checkout ${TAG} && \ cd "${SUB_DIR}" && \ npm install && \ - npm run build && \ + if [ ${TAG} == "hw4" ]; then npm run build; fi && \ npm start)