swc/crates/swc_ecma_codegen/scripts/compare.sh
2021-11-10 19:00:54 +09:00

7 lines
187 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
git status -u --porcelain \
| grep '?? ecmascript/codegen/tests' \
| sed -e 's!^?? ecmascript/codegen/!!' \
| xargs -L 1 ./scripts/compare-file.sh