mirror of https://github.com/aminya/setup-cpp
feat: add activateOpencppcoverage
This commit is contained in:
parent
dcedb6e575
commit
e5d7c702c7
|
@ -7,7 +7,12 @@ export async function setupOpencppcoverage(version: string | undefined, _setupCp
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
await setupChocoPack("opencppcoverage", version)
|
await setupChocoPack("opencppcoverage", version)
|
||||||
const binDir = "C:/Program Files/OpenCppCoverage"
|
const binDir = activateOpencppcoverage()
|
||||||
addPath(binDir)
|
|
||||||
return { binDir }
|
return { binDir }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function activateOpencppcoverage() {
|
||||||
|
const binDir = "C:/Program Files/OpenCppCoverage"
|
||||||
|
addPath(binDir)
|
||||||
|
return binDir
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue