summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2015-04-16 15:13:05 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-04-17 11:47:35 -0700
commitb4aa93c0db41b1ab429e35792f94b05d0db48a98 (patch)
tree12016dad49e44e398d37bbb40010dc1bfc76e3dc
parent4bb0406950dee57616edcf5c0e4b866be0d18906 (diff)
downloadscala-b4aa93c0db41b1ab429e35792f94b05d0db48a98.tar.gz
scala-b4aa93c0db41b1ab429e35792f94b05d0db48a98.tar.bz2
scala-b4aa93c0db41b1ab429e35792f94b05d0db48a98.zip
Document sbt build as experimental.
Add welcome message that is shown at sbt's startup. The message clearly indicates experimental status of sbt build. Also, add a short paragraph to README.md explaining status of sbt build.
-rw-r--r--README.md9
-rw-r--r--build.sbt6
2 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 830dfa8d6c..1651333188 100644
--- a/README.md
+++ b/README.md
@@ -138,6 +138,15 @@ The Scala build system is based on Apache Ant. Most required pre-compiled
libraries are part of the repository (in 'lib/'). The following however is
assumed to be installed on the build machine:
+## Building with Sbt (EXPERIMENTAL)
+
+The experimental sbt-based build definition has arrived! Run `sbt package`
+to build the compiler. You can run `sbt test` to run unit (JUnit) tests.
+Use `sbt test/it:test` to run integration (partest) tests.
+
+We would like to migrate to sbt build as quickly as possible. If you would
+like to help please contact scala-internals@ mailing list to discuss your
+ideas and coordinate your effort with others.
### Tips and tricks
diff --git a/build.sbt b/build.sbt
index d4cad4d973..51004a8f72 100644
--- a/build.sbt
+++ b/build.sbt
@@ -185,7 +185,11 @@ lazy val root = (project in file(".")).
scaladoc, scalap, actors).settings(
scalaVersion := bootstrapScalaVersion,
ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) },
- sources in Compile := Seq.empty
+ sources in Compile := Seq.empty,
+ onLoadMessage := """|*** Welcome to the sbt build definition for Scala! ***
+ |This build definition has an EXPERIMENTAL status. If you are not
+ |interested in testing or working on the build itself, please use
+ |the Ant build definition for now. Check README.md for more information.""".stripMargin
)
/**