mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 06:23:29 +02:00
f482a6cf0d5b3df9e4246fa6456b070829b46d02
The previous implementation was instantiating a toolbox to parse every time it parsed a sbt file (and even recursively!!!). This is inefficient and translates to instantiating a `ReflectGlobal` every time we want to parse something. This commit takes another approach: 1. It removes the dependency on `ReflectGlobal`. 2. It reuses the same `Global` and `Run` instances for parsing. This is an efficient as it can get without doing a whole overhaul of it. I think that in the future we may want to reimplement it to avoid the recursive parsing to work around Scalac's bug.
sbt
sbt is a build tool for Scala, Java, and more.
For general documentation, see http://www.scala-sbt.org/.
sbt 1.0.x
This is the 1.0.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 and sbt-dev.
license
See LICENSE.
Languages
Scala
94.5%
Java
3.1%
Shell
1.1%
Batchfile
0.9%
Roff
0.2%
Other
0.1%