diff --git a/Make.bat b/Make.bat index b1bb3cc35..8082c56d0 100644 --- a/Make.bat +++ b/Make.bat @@ -246,6 +246,7 @@ REM Main function Ends FOR /R "%PGBUILDPATH%\web" %%f in (*.pyc *.pyo) do DEL /q "%%f" FOR /R "%PGBUILDPATH%\web" %%f in (tests feature_tests __pycache__ node_modules) do RD /Q /S "%%f" RD /Q /S "%PGBUILDPATH%\web\regression" + RD /Q /S "%PGBUILDPATH%\web\tools" DEL /q "%PGBUILDPATH%\web\pgadmin4.db" DEL /q "%PGBUILDPATH%\web\config_local.py" diff --git a/pkg/mac/build.sh b/pkg/mac/build.sh index 6dc45ee90..8f64b1ee9 100755 --- a/pkg/mac/build.sh +++ b/pkg/mac/build.sh @@ -174,7 +174,7 @@ _complete_bundle() { cp -r $SOURCEDIR/web "$BUILDROOT/$APP_BUNDLE_NAME/Contents/Resources/" || exit 1 cd "$BUILDROOT/$APP_BUNDLE_NAME/Contents/Resources/web" rm -f pgadmin4.db config_local.* - rm -rf karma.conf.js package.json node_modules/ regression/ + rm -rf karma.conf.js package.json node_modules/ regression/ tools/ find . -name "tests" -type d -exec rm -rf "{}" \; find . -name "feature_tests" -type d -exec rm -rf "{}" \; find . -name ".DS_Store" -exec rm -f "{}" \;