Skip to content

Commit b1bda7a

Browse files
authored
Rename folder "jscomp" to "compiler" (#7086)
* Rename folder "jscomp" to "compiler" * Adapt to rename * CHANGELOG
1 parent 7372be9 commit b1bda7a

File tree

2,621 files changed

+26
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,621 files changed

+26
-53
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
- name: Checkout
132132
uses: actions/checkout@v4
133133
with:
134-
fetch-depth: 2 # to be able to check for changes in subfolder jscomp/syntax later
134+
fetch-depth: 2 # to be able to check for changes in subfolder compiler/syntax later
135135

136136
- name: Use Node.js
137137
uses: actions/setup-node@v4
@@ -301,7 +301,7 @@ jobs:
301301
id: syntax-diff
302302
shell: bash
303303
run: |
304-
if git diff --name-only --exit-code HEAD^ HEAD -- jscomp/syntax; then
304+
if git diff --name-only --exit-code HEAD^ HEAD -- compiler/syntax; then
305305
echo "syntax_status=unchanged" >> $GITHUB_ENV
306306
else
307307
echo "syntax_status=changed" >> $GITHUB_ENV
@@ -337,7 +337,7 @@ jobs:
337337
run: |
338338
opam exec -- node packages/playground-bundling/scripts/generate_cmijs.js
339339
opam exec -- dune build --profile browser
340-
cp ./_build/default/jscomp/jsoo/jsoo_playground_main.bc.js playground/compiler.js
340+
cp ./_build/default/compiler/jsoo/jsoo_playground_main.bc.js playground/compiler.js
341341
342342
- name: Test playground compiler
343343
if: matrix.build_playground

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ tests/build_tests/*/lib/
5858
*.jsoo.js
5959
*.so
6060
tmp/
61-
jscomp/.lsp
6261
tracing*.json
6362
.nyc_output
6463
.vscode/launch.json

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions

CREDITS.md

Lines changed: 6 additions & 13 deletions

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bench:
1313
$(DUNE_BIN_DIR)/syntax_benchmarks
1414

1515
dce:
16-
reanalyze.exe -dce-cmt _build/default/jscomp
16+
reanalyze.exe -dce-cmt _build/default/compiler
1717

1818
rewatch:
1919
cargo build --manifest-path rewatch/Cargo.toml
@@ -48,7 +48,7 @@ test-gentype:
4848
test-all: test test-gentype
4949

5050
reanalyze:
51-
reanalyze.exe -set-exit-code -all-cmt _build/default/jscomp -suppress jscomp/syntax/testrunner -exclude-paths jscomp/outcome_printer,jscomp/ounit_tests,jscomp/ml,jscomp/js_parser,jscomp/frontend,jscomp/ext,jscomp/depends,jscomp/core,jscomp/common,jscomp/cmij,jscomp/bsb_helper,jscomp/bsb
51+
reanalyze.exe -set-exit-code -all-cmt _build/default/compiler -suppress compiler/syntax/testrunner -exclude-paths compiler/outcome_printer,compiler/ounit_tests,compiler/ml,compiler/js_parser,compiler/frontend,compiler/ext,compiler/depends,compiler/core,compiler/common,compiler/cmij,compiler/bsb_helper,compiler/bsb
5252

5353
lib: build node_modules/.bin/semver
5454
./scripts/buildRuntime.sh
@@ -60,7 +60,7 @@ artifacts: lib
6060
# Builds the core playground bundle (without the relevant cmijs files for the runtime)
6161
playground:
6262
dune build --profile browser
63-
cp ./_build/default/jscomp/jsoo/jsoo_playground_main.bc.js playground/compiler.js
63+
cp ./_build/default/compiler/jsoo/jsoo_playground_main.bc.js playground/compiler.js
6464

6565
# Creates all the relevant core and third party cmij files to side-load together with the playground bundle
6666
playground-cmijs: artifacts

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)