use correct -dev build options appveyor

check for invalid options start.sh and npm-clean.sh
This commit is contained in:
Eugenio Romano
2017-05-24 02:20:11 +01:00
parent 120db7e52c
commit 9f96f7ea82
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ install:
if %APPVEYOR_REPO_BRANCH EQU master if %APPVEYOR_REPO_BRANCH EQU master
(cd scripts && sh start.sh -t -ss || exit 1) (cd scripts && sh start.sh -t -ss || exit 1)
else else
(cd scripts && sh start.sh -d -t -ss -gitjsapi development|| exit 1) (cd scripts && sh start.sh -dev -t -ss -gitjsapi development|| exit 1)
) )
# Don't actually build. # Don't actually build.

View File

@@ -36,7 +36,7 @@ while [[ $1 == -* ]]; do
case "$1" in case "$1" in
-h|--help|-\?) show_help; exit 0;; -h|--help|-\?) show_help; exit 0;;
-sd|--skipDemo) update; shift;; -sd|--skipDemo) update; shift;;
-*) shift;; -*) echo "invalid option: $1" 1>&2; show_help; exit 0;;
esac esac
done done

View File

@@ -135,7 +135,7 @@ while [[ $1 == -* ]]; do
-dist) enable_dist; shift;; -dist) enable_dist; shift;;
-gitjsapi) enable_js_api_git_link $2; shift 2;; -gitjsapi) enable_js_api_git_link $2; shift 2;;
-vjsapi) version_js_api $2; shift 2;; -vjsapi) version_js_api $2; shift 2;;
-*) shift;; -*) echo "invalid option: $1" 1>&2; show_help; exit 0;;
esac esac
done done