mirror of https://github.com/aminya/setup-cpp
feat: add activateWinDoxygen
This commit is contained in:
parent
3640522fa1
commit
cd02056faf
|
@ -33,9 +33,7 @@ export async function setupDoxygen(version: string | undefined, _setupCppDir: st
|
|||
* at setupDoxygen (src/doxygen/doxygen.ts:11:27)
|
||||
* at Object.<anonymous> (src/doxygen/__tests__/doxygen.test.ts:8:25)
|
||||
*/
|
||||
addPath("C:/Program Files/Graphviz/bin")
|
||||
const binDir = "C:/Program Files/doxygen/bin"
|
||||
addPath(binDir)
|
||||
const binDir = activateWinDoxygen()
|
||||
return { binDir }
|
||||
}
|
||||
case "darwin": {
|
||||
|
@ -51,3 +49,10 @@ export async function setupDoxygen(version: string | undefined, _setupCppDir: st
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
function activateWinDoxygen() {
|
||||
addPath("C:/Program Files/Graphviz/bin")
|
||||
const binDir = "C:/Program Files/doxygen/bin"
|
||||
addPath(binDir)
|
||||
return binDir
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue