Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is it possible to run a script on publish?

Explorer ,
Jul 16, 2020 Jul 16, 2020

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?

261
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 20, 2020 Jul 20, 2020

Run tests and use debug. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 21, 2020 Jul 21, 2020
LATEST

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

 

Screen Shot 2020-07-21 at 11.45.50 AM.png

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines