mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
10 lines
362 B
Bash
Executable File
10 lines
362 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Generates reference output for the mangler, using terser
|
|
#
|
|
set -eu
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
find ./tests/terser -name 'input.js' | xargs -L 1 -P 16 -I {} $SCRIPT_DIR/terser-one.sh {} \;
|
|
find ./tests/fixture -name 'input.js' | xargs -L 1 -P 16 -I {} $SCRIPT_DIR/terser-one.sh {} \; |