Skip to content

Commit

Permalink
Cleanup some more unnecessary artefacts from the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpage authored and akshay-joshi committed Aug 11, 2023
1 parent 74c55dc commit 574b48f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/mac/build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,10 @@ _complete_bundle() {
cp -r "${SOURCE_DIR}/web" "${BUNDLE_DIR}/Contents/Resources/"
cd "${BUNDLE_DIR}/Contents/Resources/web" || exit
rm -f pgadmin4.db config_local.*
rm -rf karma.conf.js package.json node_modules/ regression/ tools/ pgadmin/static/js/generated/.cache
rm -rf karma.conf.js package.json .yarn* yarn* .editorconfig .eslint* node_modules/ regression/ tools/ pgadmin/static/js/generated/.cache
find . -name "tests" -type d -print0 | xargs -0 rm -rf
find . -name "feature_tests" -type d -print0 | xargs -0 rm -rf
find . -name "__pycache__" -type d -print0 | xargs -0 rm -rf
find . -name ".DS_Store" -print0 | xargs -0 rm -f

{
Expand Down Expand Up @@ -490,4 +491,4 @@ _notarize_pkg() {
fi
echo "Notarization completed successfully."
}
}

0 comments on commit 574b48f

Please sign in to comment.