fix path of syspec resource files for ide and office verification
This commit is contained in:
parent
4dcbc448ff
commit
00a94342d8
1 changed files with 4 additions and 2 deletions
|
@ -4,10 +4,12 @@ import org.domaindrivenarchitecture.provs.framework.core.Prov
|
||||||
import org.domaindrivenarchitecture.provs.framework.core.ProvResult
|
import org.domaindrivenarchitecture.provs.framework.core.ProvResult
|
||||||
import org.domaindrivenarchitecture.provs.syspec.domain.verifySpecFromResource
|
import org.domaindrivenarchitecture.provs.syspec.domain.verifySpecFromResource
|
||||||
|
|
||||||
|
private const val resourcePath = "org/domaindrivenarchitecture/provs/syspec/"
|
||||||
|
|
||||||
fun Prov.verifyIdeSetup(): ProvResult = task {
|
fun Prov.verifyIdeSetup(): ProvResult = task {
|
||||||
verifySpecFromResource("syspec-ide-config.yaml")
|
verifySpecFromResource("${resourcePath}syspec-ide-config.yaml")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Prov.verifyOfficeSetup(): ProvResult = task {
|
fun Prov.verifyOfficeSetup(): ProvResult = task {
|
||||||
verifySpecFromResource("syspec-office-config.yaml")
|
verifySpecFromResource("${resourcePath}syspec-office-config.yaml")
|
||||||
}
|
}
|
Loading…
Reference in a new issue