mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-12 17:01:02 +00:00
Transition into monorepo (#180)
* evm template integrated * workflows modified per template * workflow fixes
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
find . -name "Cargo.toml" -not -path "*/target/*" -exec toml-sort {} \;
|
||||
|
||||
CMD="git diff --name-only"
|
||||
|
||||
stdbuf -oL $CMD | {
|
||||
while IFS= read -r line; do
|
||||
echo ║ $line
|
||||
if [[ "$line" == *"Cargo.toml" ]]; then
|
||||
echo "Check fails: $line"
|
||||
echo "Please run './scripts/toml-sort.sh' to format Cargo.toml files properly."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user