diff --git a/build_site.sh b/build_site.sh index d923e02..9b0154a 100755 --- a/build_site.sh +++ b/build_site.sh @@ -40,7 +40,16 @@ buildPlugin() zipfile=$(realpath "$outdir/$plugin_id.zip") pushd "$dir" > /dev/null - zip -r "$zipfile" . > /dev/null + + # Check for .manifestignore file + if [ -f ".manifestignore" ]; then + # Use .manifestignore to exclude files + zip -r "$zipfile" . -x@.manifestignore > /dev/null + else + # If .manifestignore doesn't exist, include all files + zip -r "$zipfile" . > /dev/null + fi + popd > /dev/null name=$(grep "^name:" "$f" | head -n 1 | cut -d' ' -f2- | sed -e 's/\r//' -e 's/^"\(.*\)"$/\1/') diff --git a/plugins/CompleteTheStash/.manifestignore b/plugins/CompleteTheStash/.manifestignore new file mode 100644 index 0000000..9535a56 --- /dev/null +++ b/plugins/CompleteTheStash/.manifestignore @@ -0,0 +1,6 @@ +.template-stash\local-config.txt +.template-stash\missing-stashdb-config.txt +.template-stash\missing-tpdb-config.txt +.gitignore +fakeInput.py +test_stash_e2e.py \ No newline at end of file