mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
8afb5af517
swc_ecma_parser: - Flatten parser test suite ported from `tsc`. swc: - Flatten the reference directory for the `tsc` test suite.
7 lines
221 B
Bash
Executable File
7 lines
221 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
# Remove empty directories
|
|
find . -type d -empty -delete
|
|
|
|
find ./tests/typescript/tsc -mindepth 3 -type f \( -iname '*.ts' -o -iname '*.tsx' \) | xargs -L 1 ./scripts/_/flatten-one-tsc-test.sh |