run Idea in a command-line mode
Answered
Hello, I need to run Idea in a command-line mode. I'd like to automate some stuff like:
- code reformatting after GIT push (think, it needs to do on a server side);
- compile a project in the command-line mode without GUI
How can I do it?
Please sign in to leave a comment.
Hello,
Please check this article for possible features from command line: https://www.jetbrains.com/help/idea/working-with-intellij-idea-features-from-command-line.html
You could compile project using javac from command line: https://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
What if project is not on Java, maybe an exotic like Haxe or Flash?