mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't include the tools directory in the Mac & Windows packages
This commit is contained in:
parent
4f27afc99b
commit
8bd648c5b6
1
Make.bat
1
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"
|
||||
|
||||
|
@ -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 "{}" \;
|
||||
|
Loading…
Reference in New Issue
Block a user