Fix Yarn tasks for Windows

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

No files matched your search

+2 -2
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%
+2 -2
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%
+1 -1
View File
@@ -8,5 +8,5 @@
//////////////////////////////////////////////////////////////////////////
define(function () {
return {'static': '/base/pgadmin/static/<path:filename>'}
return {'static': '/base/pgadmin/static/<path:filename>'};
});