summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStefan Zeiger <szeiger@novocode.com>2016-04-06 15:23:19 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2016-04-06 15:23:19 +0200
commitd2b65768cca97606162af21aaedb00020993b637 (patch)
tree3c23e0af4454abeb06205f04072e2513dd96a1e8 /tools
parent1046ff24bd8f75caaee949a0425b0229e7c0a8fd (diff)
downloadscala-d2b65768cca97606162af21aaedb00020993b637.tar.gz
scala-d2b65768cca97606162af21aaedb00020993b637.tar.bz2
scala-d2b65768cca97606162af21aaedb00020993b637.zip
Generate AnyVal source stubs from sbt
The sbt command `generateSources` now generates both the AnyVal sources and the tuple/function sources (previously done by `genprod`). Source generation is part of the sbt build, the `scala.tools.cmd.gen` package is removed from `scala-compiler`. This simplifies bootstrapping. Generated sources are still in the same location and checked into git. The shell scripts `tools/codegen` and `tools/codegen-anyvals` are also removed. The ant build and the build scripts do not call these. Regenerating sources is a manual step at the moment.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/codegen8
-rwxr-xr-xtools/codegen-anyvals5
2 files changed, 0 insertions, 13 deletions
diff --git a/tools/codegen b/tools/codegen
deleted file mode 100755
index 35c93fba16..0000000000
--- a/tools/codegen
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-
-THISDIR=`dirname $0`
-SCALALIB=$THISDIR/../src/library/scala
-BINDIR=$THISDIR/../build/quick/bin
-
-$BINDIR/scala scala.tools.cmd.gen.Codegen "$@"
diff --git a/tools/codegen-anyvals b/tools/codegen-anyvals
deleted file mode 100755
index 27d1c40134..0000000000
--- a/tools/codegen-anyvals
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-#
-
-THISDIR=`dirname $0`
-$THISDIR/codegen --anyvals --out $THISDIR/../src/library/scala