如何将自定义构建脚本添加到IDEA? [英] How to add a custom build script to IDEA?
本文介绍了如何将自定义构建脚本添加到IDEA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种简单的方法可以在IntelliJ IDEA中为非Java项目配置完全自定义的构建过程?基本上,我只需要运行一个自定义的shell命令,而不是任何更聪明的构建过程.
Is there a simple way to configure a totally custom build process for a non-Java project in IntelliJ IDEA? Basically, I just need to run a custom shell command instead of any smarter build processes.
推荐答案
尝试将这些Shell命令配置为自定义工具(文件">设置">工具">外部工具").
Try configuring these shell commands as custom tools (File > Settings > Tools > External Tools).
然后,您可以在文件>设置>键盘映射>主菜单>外部工具> [您的工具名称]
You can then assign keys for invoking them (e.g Ctrl + F9) in File > Settings > Keymap > Main menu > External Tools > [Your tool name]
这篇关于如何将自定义构建脚本添加到IDEA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文