tag-youre-it/package.sh
2017-07-11 18:26:08 +02:00

14 lines
289 B
Bash
Executable file

#!/bin/sh
# Called by package.json see package.json.
# Remove old zip
rm dist.zip || true
# Remove script/link tags used for local development
# to avoid unecessary plugin errors when published
sed -i '' 's#.*/node_modules.*##g' dist/menu.tpl.html
# zip and ship!
zip -r dist.zip dist