pull out code out of KotlinCompiler and into a testable CompileEnvironment; smoke test for CompileEnvironment

This commit is contained in:
Dmitry Jemerov
2011-11-03 18:07:23 +01:00
parent dc4edef9f5
commit 84b216b88c
10 changed files with 407 additions and 278 deletions
@@ -0,0 +1,4 @@
namespace Smoke
fun main(args: Array<String>) {
}
@@ -0,0 +1,8 @@
import kotlin.modules.ModuleSetBuilder
fun ModuleSetBuilder.defineModules() {
module("smoke") {
source files "Smoke.kt"
jar name System.getProperty("java.io.tmpdir") + "/smoke.jar"
}
}