package twitch.instrumentorum

import jetbrains.buildServer.configs.kotlin.v2018_2.project

// top-level project helper; entry point for the instrumentorum DSL
fun instrum(name: String?, init: InstrumProject.() -> Unit) {
    val instrumProject = InstrumProject(name, null, null, init)
    project(instrumProject)
}

// alternate top-level project helper, no name required
fun instrum(init: InstrumProject.() -> Unit) =
    instrum(null, init)
