mirror of https://github.com/sbt/sbt.git
Normally I'd include these with the previous commit, but the diff is so large that I put them in their own commit. The tests handle 5 scenarios: 1) akka-actor-system -- a project that has Akka as a dependency and a simple main method that creates and terminates an ActorSystem. What is interesting about this test is that if scriptedBufferLog := false, we notice that the first call to run is slow, but subsequent calls to run and test are fast. The test does at least ensure that recycling the runtime layer in test works ok. 2) jni -- verifies that a project with native libraries will be able to load the library with each run. It actually swaps out the underlying library so that the it really ensures that the library is reloaded between runs. 3) library-mismatch -- verifies that the layered classloaders can work when the test dependencies are incompatible with the runtime dependencies. In this test, the test dependencies use an api in a library called foo-lib that isn't available in the version used by the runtime dependencies. Because of this incompatibility, the test will not work if Test / layeringStrategy := LayeringStrategy.Full. 4) scalatest -- verifies that a test runs using the scalatest framework 5) utest -- verifies that a test runs using the utest framework The reason for (4) and (5) is to ensure that both the in sourced test frameworks and external frameworks work with the new loaders. |
||
|---|---|---|
| .github | ||
| core-macros/src/main/scala/sbt/internal/util/appmacro | ||
| internal | ||
| launch | ||
| licenses | ||
| main | ||
| main-actions/src | ||
| main-command/src | ||
| main-settings/src | ||
| notes | ||
| project | ||
| protocol/src/main | ||
| run | ||
| sbt/src | ||
| scripted-plugin/src/main/scala/sbt | ||
| scripted-sbt-old/src/main/scala/sbt/test | ||
| scripted-sbt-redux | ||
| src/main/conscript | ||
| tasks | ||
| tasks-standard | ||
| testing | ||
| vscode-sbt-scala | ||
| .appveyor.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .java-version | ||
| .sbtopts | ||
| .scalafmt.conf | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| NOTICE | ||
| PROFILING.md | ||
| README.md | ||
| SUPPORT.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.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.