how to compile single file in sbt

前端 未结 2 1416
星月不相逢
星月不相逢 2020-12-17 14:36

I\'m doing some refactoring that made compiler temporally give errors in several files. I\'d like to work with them one by one (starting with common dependencies) and need s

2条回答
  •  無奈伤痛
    2020-12-17 14:54

    I just wanted to mention here that I came across sbt-compile-quick-plugin (https://github.com/etsy/sbt-compile-quick-plugin). It does what it says on the tin, just add addSbtPlugin("com.etsy" % "sbt-compile-quick-plugin" % "1.3.0") to your project/plugins.sbt, then you can just start up sbt and run compileQuick /path/to/your/file

提交回复
热议问题