mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Fix Yarn tasks for Windows
This commit is contained in:
parent
827aa72e99
commit
5d45dee686
@ -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%
|
||||
|
4
Make.bat
4
Make.bat
@ -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%
|
||||
|
@ -8,5 +8,5 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
define(function () {
|
||||
return {'static': '/base/pgadmin/static/<path:filename>'}
|
||||
return {'static': '/base/pgadmin/static/<path:filename>'};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user