Skip to content

Commit 86a3443

Browse files
committed
Build more stuff with legacy build system
1 parent 72fe541 commit 86a3443

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/playground/scripts/generate_cmijs.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import {
2323
playgroundPackagesDir,
2424
} from "./common.mjs";
2525

26-
exec("yarn rescript clean");
27-
exec("yarn rescript");
26+
exec("yarn rescript legacy clean");
27+
exec("yarn rescript legacy");
2828

2929
// We need to build the compiler's builtin modules as a separate cmij.
3030
// Otherwise we can't use them for compilation within the playground.
@@ -58,7 +58,7 @@ function buildCmij(pkgDir, pkgName) {
5858
}
5959

6060
/**
61-
* @param {string} basename
61+
* @param {string} basename
6262
* @return {boolean}
6363
*/
6464
function isCmij(basename) {

scripts/res/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "rescript",
77
"clean": "rescript clean -with-deps",
88
"dev": "rescript -w",
9-
"apidocs:generate": "yarn build && node GenApiDocs.res.js"
9+
"apidocs:generate": "yarn legacy build && node GenApiDocs.res.js"
1010
},
1111
"dependencies": {
1212
"@tests/docstring-tests": "workspace:^",

tests/docstring_tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "module",
44
"private": true,
55
"scripts": {
6-
"build": "rescript",
7-
"clean": "rescript clean -with-deps",
6+
"build": "rescript legacy build",
7+
"clean": "rescript legacy clean",
88
"dev": "rescript -w"
99
},
1010
"dependencies": {

tests/tools_tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "@tests/tools",
33
"private": true,
44
"scripts": {
5-
"build": "rescript",
6-
"clean": "rescript clean -with-deps",
5+
"build": "rescript legacy build",
6+
"clean": "rescript legacy clean",
77
"dev": "rescript -w"
88
},
99
"dependencies": {

0 commit comments

Comments
 (0)