小编Spa*_*oda的帖子

如何设置IDEA来执行后编译任务?

在编译完成后尝试运行一些代码时,我在我的sbt构建中编写了以下内容:

compile in Compile <<= (compile in Compile) map { x=>
    // post-compile work
    doFoo()
    x
}
Run Code Online (Sandbox Code Playgroud)

如果我从命令行运行sbt compile,哪个效果很好,但是当我从IntelliJ IDEA构建时,它不会被执行.

有没有办法让IntelliJ IDEA运行我的后期编译步骤?

intellij-idea sbt

7
推荐指数
1
解决办法
504
查看次数

标签 统计

intellij-idea ×1

sbt ×1