mirror of
https://github.com/swc-project/swc.git
synced 2025-01-04 19:47:10 +03:00
33a43f85b1
swc_ecma_minifier: - Implement more rules. swc_ecma_transforms_base: - `resolver`: Fix syntax context of catch block. swc_ecma_transforms_optimization: - `expr_simplifier`: Fix a bug related to `this` of call expressions. - `dead_branch_remover`: Don't reduce switch cases if test is now known. - `dead_branch_remover`: Don't break `&&`.
17 lines
579 B
Bash
Executable File
17 lines
579 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
find tests/compress/exec -name output.js | xargs -L 1 rm
|
|
find tests/compress/exec -name expected.stdout | xargs -L 1 rm
|
|
find tests/compress/exec -name output.terser.js | xargs -L 1 rm
|
|
find tests/compress/exec -name mangle.json | xargs -L 1 rm
|
|
find tests/compress/exec -empty -type d -delete
|
|
|
|
./scripts/run.sh \
|
|
| grep 'base_exec_compress__exec__terser__' \
|
|
| grep '__input_js ... ok' \
|
|
| sed -e 's/test base_exec_compress__exec__terser__//' \
|
|
| sed -e 's/__input_js ... ok//' \
|
|
| xargs -L 1 ./scripts/postpone.sh
|
|
|
|
./scripts/run.sh |