Adds a quick start to setup a gulp environment - when you have NPM in the path the pre-requisites get taken care of
This commit is contained in:
23
src/Umbraco.Web.UI.Client/setupgulp.bat
Normal file
23
src/Umbraco.Web.UI.Client/setupgulp.bat
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user