mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 17:54:15 +03:00
14 lines
246 B
Bash
Executable File
14 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
# yarn run cspell "**/src/**/*.rs"
|
|
cargo fmt --all -- --check
|
|
|
|
# Remove empty directories
|
|
if command -v fd &> /dev/null
|
|
then
|
|
fd -H '^\.DS_Store$' -tf -X rm || true
|
|
fd -te -td -X rmdir || true
|
|
fi
|
|
|