Skip to main content
Known Participant
July 16, 2020
Question

Is it possible to run a script on publish?

  • July 16, 2020
  • 1 reply
  • 307 views

It would be awesome if every time I did a Publish in Animate, it would let me run a binary, which could be a bash script, a Python script, or anything like that.

 

Any chance this is something already built into Animate, and I just haven't seen it?

    This topic has been closed for replies.

    1 reply

    Community Expert
    July 21, 2020

    Run tests and use debug. 

    _tal_Author
    Known Participant
    July 21, 2020

    My project is HTML5 canvas. Not a single Debug option is enabled in that mode.

     

    Also, "test" doesn't work for me either because my project is a Python Flask project, and the template I use for generating the HTML file contains a lot of Jinja2 template syntax that a browser won't understand. I need to publish the project, and serve it with my Flask development server for it to work properly in a browser.