summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2016-03-29 16:43:31 -0400
committerSeth Tisue <seth@tisue.net>2016-03-29 16:43:31 -0400
commita23d295a8bc515274d4f99223ece255b06470b55 (patch)
tree5253c53adf9ad316f5d0e489acccd03b63278a40 /build.sbt
parent0e4c39aee4196573e8fb94a01fd92e0be4e4dd05 (diff)
parentcb1a4524d2b34605232afa083dd43f0b7d39b7a7 (diff)
downloadscala-a23d295a8bc515274d4f99223ece255b06470b55.tar.gz
scala-a23d295a8bc515274d4f99223ece255b06470b55.tar.bz2
scala-a23d295a8bc515274d4f99223ece255b06470b55.zip
Merge pull request #5021 from szeiger/wip/remove-deprecations
Seal collection classes that were annotated with deprecatedInheritance in 2.11.0
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt9
1 files changed, 8 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index 4dae2abe35..d430a7b8db 100644
--- a/build.sbt
+++ b/build.sbt
@@ -648,7 +648,14 @@ lazy val root = (project in file("."))
publishArtifact := false,
publish := {},
publishLocal := {},
- commands ++= ScriptCommands.all
+ commands ++= ScriptCommands.all,
+ // Generate (Product|TupleN|Function|AbstractFunction)*.scala files. Once the ANT build is gone,
+ // we should move them into a managedSources dir instead of overwriting sources checked into git.
+ commands += Command.command("genprod") { state =>
+ val dir = (((baseDirectory in ThisBuild).value) / "src" / "library" / "scala").getPath
+ genprod.main(Array(dir))
+ state
+ }
)
.aggregate(library, reflect, compiler, interactive, repl, replJline, replJlineEmbedded,
scaladoc, scalap, partestExtras, junit, libraryAll, scalaDist).settings(