mirror of https://github.com/sbt/sbt.git
The missing .value analysis is dumb on purpose because it's expensive. Detecting valid use cases of idents whose type is an sbt key is difficult and dangerous because we may miss some corner cases. Instead, we report on the easiest cases in which we are certain that the user does not want to have a stale key reference. Those are idents in the rhs of val definitions with `_` as name and idents in statement position inside blocks. In the future, we can cover all val definitions no matter what their name is. Unfortunately, doing so will come at the cost of speed: we have to run the unused name analysis in `TypeDiagnostics` and expose it from the power context in `ContextUtil`. This is good enough for now. If users express interest in having a smarter analysis, we can always consider trying the unused name analysis. I am not sure how slow it will be -- hopefully it won't be that much. |
||
|---|---|---|
| core-macros/src/main/scala/sbt/internal/util/appmacro | ||
| launch | ||
| licenses | ||
| main | ||
| main-actions/src | ||
| main-command/src/main | ||
| main-settings/src | ||
| notes | ||
| project | ||
| protocol/src/main | ||
| run | ||
| sbt/src | ||
| scripted | ||
| src/main/conscript | ||
| tasks | ||
| tasks-standard | ||
| testing | ||
| .gitattributes | ||
| .gitignore | ||
| .java-version | ||
| .scalafmt.conf | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| ISSUE_TEMPLATE.md | ||
| LICENSE | ||
| NOTICE | ||
| PULL_REQUEST_TEMPLATE.md | ||
| README.md | ||
| build.sbt | ||
| reset.sh | ||
| sbt-allsources.sh | ||
| server.md | ||
README.md
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.