diff options
author | Josh Suereth <joshua.suereth@gmail.com> | 2012-06-12 10:42:24 -0400 |
---|---|---|
committer | Josh Suereth <joshua.suereth@gmail.com> | 2012-06-12 10:42:24 -0400 |
commit | ed1b1b1d4544d4c2dba088e923c362151dd9eed2 (patch) | |
tree | fca317e4b6a587eac9c87e2a4e40eaaf47cd4c9c /project/ScalaBuildKeys.scala | |
parent | 87e23f5f523fc1c5b6ece12f6a812f26820e4da7 (diff) | |
download | scala-ed1b1b1d4544d4c2dba088e923c362151dd9eed2.tar.gz scala-ed1b1b1d4544d4c2dba088e923c362151dd9eed2.tar.bz2 scala-ed1b1b1d4544d4c2dba088e923c362151dd9eed2.zip |
Fix for reflection. Review/Use by @adriaanm
Diffstat (limited to 'project/ScalaBuildKeys.scala')
-rw-r--r-- | project/ScalaBuildKeys.scala | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/project/ScalaBuildKeys.scala b/project/ScalaBuildKeys.scala new file mode 100644 index 0000000000..dbde6bd18c --- /dev/null +++ b/project/ScalaBuildKeys.scala @@ -0,0 +1,22 @@ +import sbt._ +import Keys._ + +object ScalaBuildKeys { + val lockerLock: TaskKey[Unit] = TaskKey("locker-lock", + "Locks the locker layer of the compiler build such that it won't rebuild on changed source files.") + val lockerUnlock: TaskKey[Unit] = TaskKey("locker-unlock", + "Unlocks the locker layer of the compiler so that it will be recompiled on changed source files.") + val lockFile: SettingKey[File] = SettingKey("lock-file", + "Location of the lock file compiling this project.") + // New tasks/settings specific to the scala build. + val lock: TaskKey[Unit] = TaskKey("lock", "Locks this project so it won't be recompiled.") + val unlock: TaskKey[Unit] = TaskKey("unlock", "Unlocks this project so it will be recompiled.") + val makeDist: TaskKey[File] = TaskKey("make-dist", + "Creates a mini-distribution (scala home directory) for this build in a zip file.") + val makeExplodedDist: TaskKey[File] = TaskKey("make-exploded-dist", + "Creates a mini-distribution (scala home directory) for this build in a directory.") + val makeDistMappings: TaskKey[Map[File, String]] = TaskKey("make-dist-mappings", + "Creates distribution mappings for creating zips,jars,directorys,etc.") + val buildFixed = AttributeKey[Boolean]("build-uri-fixed") + +} |