在sbt的shell或命令行的设置中指定extras轴?

时间:2014-04-07 11:50:17

标签: scala sbt

我们使用extras轴来调整我们的sbt项目(Scala.js项目)中的键。我们想使用额外的轴(在Scala.js sbt插件中)为跑步者和测试框架提供不同的fullClasspath。我们的编译管道有多个阶段,我们希望能够在每个阶段之后执行。

但是,我无法在命令行中指定额外范围。

如果我列出使用extras轴(我们使用键stage)作为依赖项的东西,sbt将使用以下语法:

helloworld/compile:run::fullClasspath(stage: scala.scalajs.sbtplugin.PreoptStage$@5a96721d)

但是,我无法显示此值/使用范围键:

show helloworld/compile:run::fullClasspath(stage: PreoptStage)
[error] Expected key
[error] Expected end of input.
[error] Expected whitespace character
[error] show helloworld/compile:run::fullClasspath(stage: PreoptStage)

我如何编写范围规范? (请注意,sbt parser code强烈建议实际支持此功能。)

Some code我们测试过(查看历史记录,看看发生了什么)。

0 个答案:

没有答案
相关问题