mirror of
https://github.com/BillyOutlast/MidnightRider-Stash.git
synced 2026-10-11 21:20:00 +00:00
Another attempt with .manifestignore
This commit is contained in:
+10
-1
@@ -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" . [email protected] > /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/')
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user