Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom build steps in Intellij IDEA project

I have an external tool I need to be executed everytime Intellij runs Make. In eclipse I could easily modify the build steps, but I dunno how to achieve that here.

Any ideas?

I expect that it would deal with my resources using external script without having to run it manually before each test run.

like image 257
Wojtek Erbetowski Avatar asked Jul 11 '12 12:07

Wojtek Erbetowski


1 Answers

It's possible via Ant or Maven right now.

For example you can add build.xml to the Ant Build panel in IntelliJ IDEA, create Ant target that will run your command line tool with the <exec> task, right click on this target and set it to run automatically (Execute on | Before Compilation or After Compilation).

like image 57
CrazyCoder Avatar answered Oct 16 '22 02:10

CrazyCoder