diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-10-14 00:00:32 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-10-14 00:15:32 -0400 |
commit | 9f0ce77f01c5bdd7cb4f475d3d526b8ac30f9cc4 (patch) | |
tree | 549156003867ccb715c6ec2a6b28b895b5f5cfc5 /test/simple-fixed-cbt/build | |
parent | bf4ea112fe668fb7e2e95a2baca4989b16384783 (diff) | |
download | cbt-9f0ce77f01c5bdd7cb4f475d3d526b8ac30f9cc4.tar.gz cbt-9f0ce77f01c5bdd7cb4f475d3d526b8ac30f9cc4.tar.bz2 cbt-9f0ce77f01c5bdd7cb4f475d3d526b8ac30f9cc4.zip |
add tests for cross-cbt-version exit code and err/out directing
also adds example for propagating build-time information into run time
Diffstat (limited to 'test/simple-fixed-cbt/build')
-rw-r--r-- | test/simple-fixed-cbt/build/build.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/simple-fixed-cbt/build/build.scala b/test/simple-fixed-cbt/build/build.scala new file mode 100644 index 0000000..1d0640d --- /dev/null +++ b/test/simple-fixed-cbt/build/build.scala @@ -0,0 +1,14 @@ +import cbt._ + +// cbt:https://github.com/cvogt/cbt.git#bf4ea112fe668fb7e2e95a2baca4989b16384783 +class Build(val context: cbt.Context) extends PackageJars{ + override def dependencies = super.dependencies ++ Seq( + DirectoryDependency( context.cbtHome ++ "/test/library-test" ) + ) ++ Resolver( mavenCentral ).bind( + MavenDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r"), + MavenDependency("com.spotify", "missinglink-core", "0.1.1") + ) + def groupId: String = "cbt.test" + def defaultVersion: String = "0.1" + def name: String = "simple-fixed-cbt" +}
\ No newline at end of file |