diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-01 01:03:04 +0000 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-01 01:03:04 +0000 |
commit | 1a2da7da5b003b8b473f67706a04256f49c86c6f (patch) | |
tree | eb4f9bcc95b01d4aecbb2c6eb299adbb79f4d540 /libraries/capture_args/build/build.scala | |
parent | 02633f3e5c58c93715bc574d30570a2a05b62f3d (diff) | |
download | cbt-1a2da7da5b003b8b473f67706a04256f49c86c6f.tar.gz cbt-1a2da7da5b003b8b473f67706a04256f49c86c6f.tar.bz2 cbt-1a2da7da5b003b8b473f67706a04256f49c86c6f.zip |
add capture_args macro for type-safe embedding of stringly typed apis
Diffstat (limited to 'libraries/capture_args/build/build.scala')
-rw-r--r-- | libraries/capture_args/build/build.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/capture_args/build/build.scala b/libraries/capture_args/build/build.scala new file mode 100644 index 0000000..24c1faa --- /dev/null +++ b/libraries/capture_args/build/build.scala @@ -0,0 +1,11 @@ +package cbt_build.cbt.capture_args +import cbt._ +class Build(val context: Context) extends BaseBuild{ + override def dependencies = ( + super.dependencies ++ // don't forget super.dependencies here for scala-library, etc. + Resolver( mavenCentral ).bind( + MavenDependency( "org.scala-lang", "scala-reflect", scalaVersion ) + ) + ) + override def scalacOptions = super.scalacOptions :+ "-language:experimental.macros" +} |