我如何安静地跑步?

时间:2016-04-01 10:43:24

标签: scala sbt

我刚刚开始编写Scala,我已经编写了一个从10开始倒数​​的小程序。功能正确,但是当我使用sbt运行时,我发现了一点点预期的印刷品:

06:39 $ sbt run
[info] Loading global plugins from /Users/erip/.sbt/0.13/plugins
[info] Loading project definition from /Users/erip/IdeaProjects/Hello/project
[info] Set current project to Hello Test #1 (in build file:/Users/erip/IdeaProjects/Hello/)
[info] Running Main 
10
9
8
7
6
5
4
3
2
1
[success] Total time: 1 s, completed Apr 1, 2016 6:40:03 AM

此处的预期行为显然只是输出倒计时:

06:39 $ sbt run
10
9
8
7
6
5
4
3
2
1

我已经检查了sbt的帮助菜单,但无法找到一个开关使输出安静。有谁知道怎么做?

0 个答案:

没有答案