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

Is it possible to run a script on publish?

Explorer ,
Jul 16, 2020 Jul 16, 2020

Copy link to clipboard

Copied

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?

Views

121

Translate

Translate

Report

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

Copy link to clipboard

Copied

Run tests and use debug. 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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