From 8bd648c5b68a9ebb2df41458bc9957b04ff9b1e2 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Sat, 25 Mar 2017 17:21:23 -0400 Subject: [PATCH] Don't include the tools directory in the Mac & Windows packages --- Make.bat | 1 + pkg/mac/build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 "{}" \;