mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
a071ce82241e0615cc6ac030eef79b1ebcbc217f
@olegych reported that sbt would silently swallow the 'compile' command in the multi-command, 'run;compile;reload'. I tracked this down to the build source check. When the build has Global / onChangedBuildSource := ReloadOnSourceChanges, the check build sources command return a new state with "reload" prefixed. To actually perform the reload, I returned this modified state with the prefixed reload command. There were two problems with this: 1) In the auto-reload case, the current command was not run after the reload 2) If the multi-command contained reload, the auto-reload check would have a false positive which triggered the bug in (1) To fix this, I clear out the remaining commands before I run the check command. That way, we know that if the remaining commands has a reload, then it is an auto-reload. We then prefix the state with both the reload and the current command. I updated the scripted test for auto-reload to handle multi commands containing reload.
sbt
sbt is a build tool for Scala, Java, and more.
For general documentation, see http://www.scala-sbt.org/.
sbt 1.x
This is the 1.x series of sbt. The source code of sbt is split across several GitHub repositories, including this one.
- sbt/io hosts
sbt.iomodule. - sbt/util hosts a collection of internally used modules.
- sbt/librarymanagement hosts
sbt.librarymanagementmodule that wraps Ivy. - sbt/zinc hosts Zinc, an incremental compiler for Scala.
- sbt/sbt, this repository hosts modules that implements the build tool.
Other links
- Setup: Describes getting started with the latest binary release.
- FAQ: Explains how to get help and more.
- sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions
Issues and Pull Requests
Please read CONTRIBUTING carefully before opening a GitHub Issue.
The short version: try searching or asking on StackOverflow.
license
See LICENSE.
Languages
Scala
94.5%
Java
3.1%
Shell
1.1%
Batchfile
0.9%
Roff
0.2%
Other
0.1%