diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 23:45:39 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 23:58:43 -0500 |
commit | dfde369b30bcde1c60add172e0e91caeb51e541b (patch) | |
tree | 6c508bf322e1c3257dd21da93020d396120ae09b /stage2/BasicBuild.scala | |
parent | 5c5aebe269f4add3bceb669aab6b5c9ea565d8f8 (diff) | |
download | cbt-dfde369b30bcde1c60add172e0e91caeb51e541b.tar.gz cbt-dfde369b30bcde1c60add172e0e91caeb51e541b.tar.bz2 cbt-dfde369b30bcde1c60add172e0e91caeb51e541b.zip |
use target directory rather than projectDirectory as caching key
makes more sense as multiple projects with the same projectDirectory
but different sources and targets can make sense e.g. for sbt directory
structure, etc
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r-- | stage2/BasicBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index a2c7238..9ed6787 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -9,7 +9,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge // will create new instances given the context, which means operations in the // overrides will happen multiple times and if they are not idempotent stuff likely breaks def context: Context - def moduleKey: String = "BaseBuild("+projectDirectory.string+")" + def moduleKey: String = "BaseBuild("+target.string+")" implicit def transientCache: java.util.Map[AnyRef,AnyRef] = context.transientCache // library available to builds |