diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-05 01:26:36 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-05 01:26:36 -0500 |
commit | 37aa608a8c261ae21dee78ab5577317bf9bf647d (patch) | |
tree | cf3238e60445b2224f0b85a3f126704228bb5b83 | |
parent | 974942db43ff2d1fa7ba71ad60f9bb9eae2d8631 (diff) | |
download | cbt-37aa608a8c261ae21dee78ab5577317bf9bf647d.tar.gz cbt-37aa608a8c261ae21dee78ab5577317bf9bf647d.tar.bz2 cbt-37aa608a8c261ae21dee78ab5577317bf9bf647d.zip |
Fix README
-rw-r--r-- | README.txt | 5 | ||||
-rw-r--r-- | stage1/Stage1Lib.scala | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -30,11 +30,12 @@ If you need more than this, like dependencies create a scala file in build/ that describes your build. Here is an example // build/build.scala -class Build(context: cbt.Context) extends cbt.Build(context){ +import cbt._ +class Build(context: cbt.Context) extends PackageBuild(context){ override def version = "0.6.1-SNAPSHOT" override def groupId = "org.cvogt" override def artifactId = "play-json-extensions" - override def dependencies = Vector( + override def dependencies = super.dependencies ++ Vector( "com.typesafe.play" %% "play-json" % "2.4.4" ) override def compile = { diff --git a/stage1/Stage1Lib.scala b/stage1/Stage1Lib.scala index cc8a5e3..6ab19e0 100644 --- a/stage1/Stage1Lib.scala +++ b/stage1/Stage1Lib.scala @@ -130,7 +130,7 @@ class Stage1Lib( val logger: Logger ){ // only run zinc if files changed, for performance reasons // FIXME: this is broken, need invalidate on changes in dependencies as well - if( true || needsRecompile ){ + if( /*true || */ needsRecompile ){ val zinc = MavenDependency("com.typesafe.zinc","zinc", zincVersion)(logger) val zincDeps = zinc.transitiveDependencies |