mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
c648232864
Now swc passes all tests from `@babel/plugin-transform-classes`
17 lines
415 B
Bash
Executable File
17 lines
415 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
(cd fixtures && find . -depth -exec sh -c '
|
|
for source; do
|
|
case $source in ./*/*)
|
|
target="$(printf %sz "${source#./}" | tr / -)";
|
|
mv -i -- "$source" "${target%z}";;
|
|
esac
|
|
done
|
|
' _ {} +)
|
|
# (cd fixtures && for i in *-*;do mv $i ${i//"-"/"_"}; done)
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
python3 $SCRIPT_DIR/fixtures.py |