Skip to content

Commit c791ffb

Browse files
committed
Move all rescript legacy js sources to rescript-legacy folder
1 parent bc0f356 commit c791ffb

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

cli/rescript-legacy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as fs from "node:fs";
1010
import * as tty from "node:tty";
1111

1212
import { bsc_exe, rescript_legacy_exe } from "./common/bins.js";
13-
import * as bsb from "./common/bsb.js";
13+
import * as bsb from "./rescript-legacy/bsb.js";
1414

1515
const cwd = process.cwd();
1616
process.env.BSB_PROJECT_ROOT = cwd;
File renamed without changes.

cli/common/bsb.js renamed to cli/rescript-legacy/bsb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as os from "node:os";
77
import * as path from "node:path";
88
import { WebSocket } from "#lib/minisocket";
99

10-
import { rescript_legacy_exe } from "./bins.js";
10+
import { rescript_legacy_exe } from "../common/bins.js";
1111

1212
const cwd = process.cwd();
1313
const lockFileName = path.join(cwd, ".bsb.lock");

cli/rescript-legacy/dump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import * as child_process from "node:child_process";
44
import * as path from "node:path";
55

6-
import * as arg from "#cli/args";
6+
import * as arg from "./args.js";
77

88
const dump_usage = `Usage: rescript dump <options> [target]
99
\`rescript dump\` dumps the information for the target

cli/rescript-legacy/format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as os from "node:os";
88
import * as path from "node:path";
99
import { promisify } from "node:util";
1010

11-
import * as arg from "#cli/args";
11+
import * as arg from "./args.js";
1212

1313
const asyncExecFile = promisify(child_process.execFile);
1414

0 commit comments

Comments
 (0)