fixed checkout scripts

This commit is contained in:
Märt Kalmo
2017-05-21 09:45:39 +03:00
parent 3e4a48b548
commit 15e2cdba7d
2 changed files with 4 additions and 2 deletions

View File

@@ -41,6 +41,8 @@ cd %SUB_DIR%
call npm install
call npm run build
if "%TAG%" == "hw4" (
call npm run build
)
call npm start

View File

@@ -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)