Skip to content

Commit

Permalink
fix(tools): just submodules update transformer test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Dec 14, 2024
1 parent 2ba60b3 commit 5af708a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ submodules:
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git 54a8389fa31ce4fd18b0335b05832dc1ad3cc21f
just clone-submodule tasks/coverage/typescript https://github.com/microsoft/TypeScript.git d85767abfd83880cea17cea70f9913e9c4496dcc
just clone-submodule tasks/prettier_conformance/prettier https://github.com/prettier/prettier.git 37fd1774d13ef68abcc03775ceef0a91f87a57d7
just update-transformer-fixtures

# Install git pre-commit to format files
install-hook:
Expand Down Expand Up @@ -133,10 +134,9 @@ autoinherit:
test-transform *args='':
cargo run -p oxc_transform_conformance -- --exec {{args}}

# Update transformer conformance test fixtures, including overrides.
# `just submodules` also does this, but this runs faster. Useful when working on transformer.
# Update transformer conformance test fixtures
update-transformer-fixtures:
cd tasks/coverage/babel && git reset --hard HEAD && git clean -f -q
cd tasks/coverage/babel; git reset --hard HEAD; git clean -f -q
node tasks/transform_conformance/update_fixtures.mjs

# Install wasm-pack
Expand Down

0 comments on commit 5af708a

Please sign in to comment.