Skip to content

Commit 00f3a11

Browse files
committed
perf: install graphviz after doxygen
1 parent 998539e commit 00f3a11

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doxygen/doxygen.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ import { setupChocoPack } from "../utils/setup/setupChocoPack"
77
export async function setupDoxygen(version: string | undefined, _setupCppDir: string, _arch: string) {
88
switch (process.platform) {
99
case "win32": {
10-
await setupChocoPack("graphviz", version)
1110
await setupChocoPack("doxygen.install", version)
11+
await setupChocoPack("graphviz", version)
1212
addPath("C:/Program Files/Graphviz/bin")
1313
const binDir = "C:/Program Files/doxygen/bin"
1414
addPath(binDir)
1515
return { binDir }
1616
}
1717
case "darwin": {
18-
setupBrewPack("graphviz", version)
19-
return setupBrewPack("doxygen", version)
18+
setupBrewPack("doxygen", version)
19+
return setupBrewPack("graphviz", version)
2020
}
2121
case "linux": {
22-
await setupAptPack("graphviz", version)
23-
return setupAptPack("doxygen", version)
22+
await setupAptPack("doxygen", version)
23+
return setupAptPack("graphviz", version)
2424
}
2525
default: {
2626
throw new Error(`Unsupported platform`)

0 commit comments

Comments
 (0)