inital commit, which is clearly not initial

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch
2024-10-03 15:38:52 +03:00
commit 66719626bb
178 changed files with 41709 additions and 0 deletions

16
scripts/header-prefixer.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
ROOT_PATH="${1:-}"
FILES=$(find ./"$ROOT_PATH" -type f -name '*.rs')
for f in $FILES; do
if (grep License $f); then
echo "[-] Already prefixed $f"
else
printf "\n" | cat file_header.txt - $f > $f.new
mv $f.new $f
echo "[+] License header copied to $f"
fi
done
echo "[+] All files have been processed"