2021-07-30 04:11:27 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
|
|
# Prevent regression
|
|
|
|
./scripts/run.sh
|
|
|
|
|
|
|
|
export RUST_BACKTRACE=1
|
2021-09-27 15:05:31 +03:00
|
|
|
export RUST_LOG=debug,swc_ecma_minifier=trace
|
2021-07-30 04:11:27 +03:00
|
|
|
|
2021-09-08 12:45:39 +03:00
|
|
|
UPDATE=1 cargo test -q --test compress projects__files --all-features || true
|
2021-07-30 04:11:27 +03:00
|
|
|
|
2021-09-08 12:45:39 +03:00
|
|
|
# # Make it easier to compare
|
|
|
|
# prettier --write tests/projects/output
|
|
|
|
# yarn run eslint --fix ./tests/projects/output/
|
2021-07-30 04:11:27 +03:00
|
|
|
|
2021-09-08 12:45:39 +03:00
|
|
|
# ls -al ./tests/projects/output
|
|
|
|
# ls -al ./tests/projects/refs
|