Skip to content

Commit 2b83ab7

Browse files
committed
fix ci
1 parent fcca5c8 commit 2b83ab7

File tree

5 files changed

+10
-31
lines changed

5 files changed

+10
-31
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,16 @@ jobs:
326326

327327
- name: Build runtime/stdlib with rewatch
328328
if: ${{ runner.os != 'Windows' }}
329-
run: ./scripts/buildRuntimeRewatch.sh
329+
run: |
330+
yarn workspace @rescript/runtime clean:rewatch
331+
yarn workspace @rescript/runtime build:rewatch
330332
shell: bash
331333

332334
- name: Build runtime/stdlib with bsb (Windows)
333335
if: ${{ runner.os == 'Windows' }}
334-
run: ./scripts/buildRuntime.sh
336+
run: |
337+
yarn workspace @rescript/runtime clean:bsb
338+
yarn workspace @rescript/runtime build:bsb
335339
shell: bash
336340

337341
- name: Check for changes in lib folder

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ clean-rewatch:
9696
cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch
9797

9898
clean:
99-
yarn workspace @rescript/runtime clean
99+
yarn workspace @rescript/runtime clean:rewatch
100100
dune clean
101101

102102
clean-all: clean clean-gentype clean-rewatch

packages/@rescript/runtime/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
"./package.json": "./package.json"
2323
},
2424
"scripts": {
25+
"clean:rewatch": "rewatch clean",
2526
"build:rewatch": "rewatch build",
26-
"build:bsb": "rescript build",
27-
"clean": "rewatch clean"
27+
"clean:bsb": "rescript clean",
28+
"build:bsb": "rescript build"
2829
},
2930
"devDependencies": {
3031
"rescript": "workspace:^"

scripts/buildRuntime.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

scripts/buildRuntimeRewatch.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)