mirror of
https://github.com/sbt/sbt.git
synced 2026-09-06 17:40:06 +02:00
c7ec97d18f7a1412362ce40d7268ac4f55053ec5
There have been numerous issues with the multi parser incorrectly splitting commands like `alias foo = ; bar` into `"alias foo =" :: "bar" :: Nil`. To fix this, I update the multi parser implementation to accept a list of commands that cannot be part of a multi command. For now, the only excluded command is "alias", but if other issues come up, we can add more. I also thought about adding a system property for excluding more commands but it didn't seem worth the maintenance cost at this point. In addition to adding a filter for the excluded commands, I also reworked the multi parser so that I think its more clear (and should hopefully have more predictable performance). I changed the cmdPart parser to accept empty strings. Prior to this, the parser explicitly handled the non-leading semicolon and leading semicolon cases separately. With the relaxed cmdPart, we can handle both cases with a single parser. We just have to strip any empty commands at the beginning or end of the command list.
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%