swc/crates/swc_ecma_minifier/scripts/test.sh
2024-04-09 15:22:38 +09:00

13 lines
296 B
Bash
Executable File

#!/usr/bin/env bash
export DIFF=0
# export UPDATE=1
export SWC_CHECK=0
export SWC_RUN=0
touch tests/compress.rs
cargo test -p swc_ecma_minifier -p swc --no-fail-fast --test projects --test tsc --test compress --test mangle --features concurrent $@
# find ../swc/tests/ -type f -empty -delete