move script in a separate folder

This commit is contained in:
Mario Romano
2016-06-28 11:47:07 +01:00
parent 221c0e3d9b
commit a6c01fc77a
3 changed files with 37 additions and 38 deletions

17
scripts/start.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
cd ../demo-shell-ng2
#!/bin/sh
if [[ $1 = "-install" ]]; then
npm install
npm run start
elif [[ $1 = "-update " ]]; then
npm run update
npm run start
elif [[ $1 = "-cleanInstall" ]]; then
npm run clean
npm install
npm run start
else
npm run start
fi