Skip to content

Commit

Permalink
fix(setup): log version of installed toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi committed Jun 10, 2021
1 parent c4872ea commit ed877e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ export default async function main(toolchain: "respec" | "bikeshed" | string) {
switch (toolchain) {
case "respec": {
await install("respec", PUPPETEER_ENV);
await sh("respec --version", "buffer");
break;
}
case "bikeshed": {
await sh("pip3 --version", "buffer");
await sh(`pip3 install bikeshed --quiet`, {
output: "stream",
cwd: ACTION_DIR,
Expand All @@ -29,6 +31,7 @@ export default async function main(toolchain: "respec" | "bikeshed" | string) {
});
exportVariable("PYTHONUSERBASE", PYTHONUSERBASE);
await sh("bikeshed update", "stream");
await sh("bikeshed --version", "buffer");
break;
}
default: {
Expand Down

0 comments on commit ed877e9

Please sign in to comment.