Fix Yarn tasks for Windows

This commit is contained in:
Dave Page 2017-06-15 15:32:07 +01:00
parent 827aa72e99
commit 5d45dee686
3 changed files with 5 additions and 5 deletions

View File

@ -166,9 +166,9 @@ REM Main function Ends
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
ECHO Install Javascript dependencies
yarn install
call yarn install
ECHO Bundle all Javascript
yarn run bundle
call yarn run bundle
XCOPY /S /I /E /H /Y "%WD%\web" "%PGBUILDPATH%\web" > nul
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

View File

@ -240,9 +240,9 @@ REM Main function Ends
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
ECHO Install Javascript dependencies
yarn install
call yarn install
ECHO Bundle all Javascript
yarn run bundle
call yarn run bundle
XCOPY /S /I /E /H /Y "%WD%\web" "%PGBUILDPATH%\web" > nul
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

View File

@ -8,5 +8,5 @@
//////////////////////////////////////////////////////////////////////////
define(function () {
return {'static': '/base/pgadmin/static/<path:filename>'}
return {'static': '/base/pgadmin/static/<path:filename>'};
});