feat: add activateOpencppcoverage

This commit is contained in:
Amin Yahyaabadi 2021-09-20 07:30:10 -05:00
parent dcedb6e575
commit e5d7c702c7
1 changed files with 7 additions and 2 deletions

View File

@ -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
}