Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Plugin packaging script for Linux, Mac, MingGW/WSL

    Plugins for DWC and DSF
    1
    1
    95
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mfs12
      mfs12 last edited by mfs12

      Hey,

      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.

      Visit me on github at https://github.com/mfs12/

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA