From b4aa93c0db41b1ab429e35792f94b05d0db48a98 Mon Sep 17 00:00:00 2001 From: Grzegorz Kossakowski Date: Thu, 16 Apr 2015 15:13:05 +0200 Subject: 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. --- README.md | 9 +++++++++ build.sbt | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) 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 ) /** -- cgit v1.2.3