File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ allocs = "run -p oxc_track_memory_allocations --profile coverage --"
1111rule = " run -p rulegen"
1212lintgen = " run -p oxc_linter_codegen"
1313
14- # Build oxlint in release mode
15- oxlint = " build --release -p oxlint --bin oxlint --features allocator"
16-
1714# Fix napi breaking in test environment <https://github.com/napi-rs/napi-rs/issues/1005#issuecomment-1011034770>
1815# To be able to run unit tests on macOS, support compilation to 'x86_64-apple-darwin'.
1916[target .'cfg(target_vendor = "apple")' ]
Original file line number Diff line number Diff line change @@ -140,10 +140,10 @@ ast:
140140
141141# Build oxlint in release build
142142oxlint :
143- cargo oxlint
143+ pnpm -C apps / oxlint run build
144144
145145watch-oxlint * args = ' ':
146- just watch ' cargo run -p oxlint -- --disable-nested-config {{ args}} '
146+ just watch ' node apps/ oxlint/dist/cli.js --disable-nested-config {{ args}} '
147147
148148# Create a new lint rule for any plugin
149149new-rule name plugin = ' eslint':
@@ -245,4 +245,4 @@ clone-submodule dir url sha:
245245clone-submodule dir url sha :
246246 if (-not (Test-Path {{dir}}/ .git)) { git init {{ dir}} }
247247 cd {{ dir}} ; if ((git remote) -notcontains ' origin' ) { git remote add origin {{ url}} } else { git remote set-url origin {{ url}} }
248- cd {{ dir}} ; git fetch --depth=1 origin {{ sha}} ; git reset --hard {{ sha}} ; git clean -f -q
248+ cd {{ dir}} ; git fetch --depth=1 origin {{ sha}} ; git reset --hard {{ sha}} ; git clean -f -q
You can’t perform that action at this time.
0 commit comments