aboutsummaryrefslogtreecommitdiff
path: root/stage2/plugins/SnapshotVersion.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/plugins/SnapshotVersion.scala')
-rw-r--r--stage2/plugins/SnapshotVersion.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/stage2/plugins/SnapshotVersion.scala b/stage2/plugins/SnapshotVersion.scala
new file mode 100644
index 0000000..1f7eb23
--- /dev/null
+++ b/stage2/plugins/SnapshotVersion.scala
@@ -0,0 +1,7 @@
+package cbt
+
+trait SnapshotVersion extends ArtifactInfo with DynamicOverrides{
+ def snapshot = newBuild[SnapshotVersion]{"""
+ override def version = super.version ++ "-SNAPSHOT"
+ """}
+}