1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Tests not running without a test {}.

Provide a default test config so that projects will run tests even without a test{}.

Fixes https://github.com/cbeust/kobalt/issues/97.
This commit is contained in:
Cedric Beust 2016-01-12 02:42:08 +04:00
parent 979981d8fd
commit 8f62ff7207

View file

@ -24,7 +24,7 @@ open class Project(
@Directive open var packageName: String? = group,
val projectInfo: IProjectInfo) : IBuildConfig {
val testConfigs = arrayListOf<TestConfig>()
val testConfigs = arrayListOf(TestConfig(this))
override var buildConfig : BuildConfig? = null //BuildConfig()