Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Oct 3, 2024
1 parent dd12b52 commit 2d6779d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const cp = require("child_process");
const path = require("path");
const fs = require("fs");
var { rescript_exe } = require("#cli/bin_path");

const duneBinDir = require("./dune").duneBinDir;

Expand Down Expand Up @@ -61,11 +62,11 @@ async function runTests() {
}

if (mochaTest || nodeTest) {
cp.execSync(`../../rescript`, {
cp.execSync(rescript_exe, {
cwd: path.join(__dirname, "..", "tests/tests"),
stdio: [0, 1, 2],
});
cp.execSync(`../../rescript`, {
cp.execSync(rescript_exe, {
cwd: path.join(__dirname, "..", "tests/tests_esmodule"),
stdio: [0, 1, 2],
});
Expand Down

0 comments on commit 2d6779d

Please sign in to comment.