Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu-kung committed Oct 28, 2024
1 parent cf69112 commit 30badda
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@ if (!command || command === "bench") {

const baselineHash = (await $`git rev-parse --short HEAD`).stdout.trim();
const baselineMakoPath = `./tmp/mako-${baselineHash}`;
if (!existsSync(join(__dirname, `../tmp/mako-${baselineHash}`))) {
if (shouldBuild) {
await $`cargo build --release`;
await $`cp target/release/mako ${baselineMakoPath}`;
} else {
console.log(`Since --no-build is set, build for baseline is skipped.`);
}
}

let currentMakoPath = "./target/release/mako";
const currentHash = (await $`git rev-parse --short HEAD`).stdout.trim();
Expand Down

0 comments on commit 30badda

Please sign in to comment.