Skip to content

Commit

Permalink
Exclude uploads directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wilson1000 committed Mar 7, 2024
1 parent bc8dd72 commit 2c7f1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/local-composer-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ ! -d "./vendor-assets" ]; then
echo "Generating vendor-assets directory..."

mkdir -p ./vendor-assets
find public/ -name '*node_modules*' -prune -name '*clarity/src*' -prune -name '*clarity/webpack*' -prune -o -type f -regex "public\/${regex_path}.*\.${regex_files}" -exec cp --parent "{}" vendor-assets/ \;
find public/ -name '*node_modules*' -prune -name '*uploads*' -prune -name '*clarity/src*' -prune -name '*clarity/webpack*' -prune -o -type f -regex "public\/${regex_path}.*\.${regex_files}" -exec cp --parent "{}" vendor-assets/ \;

echo "Done."
fi

0 comments on commit 2c7f1b3

Please sign in to comment.