swc/crates/swc_ecma_minifier/scripts/test.sh

13 lines
299 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 -q -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