From 324cd7e98f0c8ac8a92ed40fbfb7e9575eca863d Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Fri, 4 May 2018 10:33:19 +0200 Subject: [PATCH] Adds a quick start to setup a gulp environment - when you have NPM in the path the pre-requisites get taken care of --- src/Umbraco.Web.UI.Client/setupgulp.bat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Umbraco.Web.UI.Client/setupgulp.bat diff --git a/src/Umbraco.Web.UI.Client/setupgulp.bat b/src/Umbraco.Web.UI.Client/setupgulp.bat new file mode 100644 index 0000000000..5cddec3747 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/setupgulp.bat @@ -0,0 +1,23 @@ +@ECHO OFF + +ECHO. +ECHO. +ECHO This will only work when you have NPM available on the command line +ECHO Works great with NodeJS Portable - https://gareth.flowers/nodejs-portable/ +ECHO. +ECHO. +set /P c=Are you sure you want to continue [Y/N]? +if /I "%c%" EQU "Y" goto :setupgulp +if /I "%c%" EQU "N" goto :eof + +:setupgulp +call npm install +call npm -g install bower +call npm -g install gulp +call npm -g install gulp-cli + +ECHO. +ECHO. +ECHO You should now be able to run: gulp build +ECHO. +ECHO. \ No newline at end of file