Plugin packaging script for Linux, Mac, MingGW/WSL
mfs12 last edited by mfs12
to ease plugin packaging i wrote a bash script which helps packaging.
So far it's not yet merged in DWS but perhaps will be part of it soon.
This script relies on bash. So if you have a bash and some very basic unix tools (find, install and zip) available and no whitespaces in your path names it should just work.
You can download it from my repo: https://github.com/mfs12/DuetWebControl/blob/add-plugin-packaging-script/plugin-package
And here's an example howto install and use it:
cd /into/your/DuetWebControl # installing wget https://raw.githubusercontent.com/mfs12/DuetWebControl/add-plugin-packaging-script/plugin-package chmod a+x plugin-package # build plugin npm run build # usage example # ./plugin-package RELEASE_FOLDER NAME VERSION MANIFEST ./plugin-package ../releases InputShaping 0.2.0-preXX src/plugins/InputShaping/plugin.json
Feel free to report bugs, feedback or ideas howto improve.