prezi / gradle-haxe-plugin

Gradle Haxe Plugin
Other
23 stars 4 forks source link

support AS target in test #3

Closed Schipy closed 10 years ago

lptr commented 10 years ago

AS target is supported -- you need a compile task with an AS target and a test task to test it:

task compileAs(type: CompileHaxe) {
    source "src/as"
    source "src/common"
    targetPlatform "swf"
}

task testAs(type: MUnit) {
    test compileAs // here we refer to the compile task
    testSource "test/common"
}