mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
use correct -dev build options appveyor
check for invalid options start.sh and npm-clean.sh
This commit is contained in:
@@ -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.
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user