From 70bb9aec93e5652c095095b3db9ed1039fa5138f Mon Sep 17 00:00:00 2001 From: James Strachan Date: Mon, 20 Feb 2012 10:01:57 +0000 Subject: [PATCH] added ant goal to compile the testlib test cases --- build.xml | 25 +++++++++++++++++++++++++ testlib/module.kt | 10 ++++++++++ 2 files changed, 35 insertions(+) create mode 100644 testlib/module.kt diff --git a/build.xml b/build.xml index dc174b339b4..8af56e48344 100644 --- a/build.xml +++ b/build.xml @@ -61,6 +61,31 @@ + + + + + + + + + + + + + + + + + + + diff --git a/testlib/module.kt b/testlib/module.kt new file mode 100644 index 00000000000..a93cdb2cfd4 --- /dev/null +++ b/testlib/module.kt @@ -0,0 +1,10 @@ +import kotlin.modules.* + +fun project() { + module("testlib") { + // TODO how to refer to the dir of the module? + classpath += "testlib/lib/junit-4.9.jar" + + addSourceFiles("test") + } +} \ No newline at end of file