[tools, cmake] refactor: update/hash check scripts, use tags for some more deps, proper CPMUtil separation #2666

Merged
crueter merged 19 commits from update-fmt into master 2025-10-05 03:04:54 +02:00
4 changed files with 17 additions and 9 deletions
Showing only changes of commit 8fb98d9e99 - Show all commits

View file

@ -1,4 +1,4 @@
#!/bin/sh
SUM=`wget -q https://github.com/$1/archive/$2.zip -O - | sha512sum`
SUM=$(wget -q https://github.com/$1/archive/$2.zip -O - | sha512sum)
echo "$SUM" | cut -d " " -f1

8
tools/cpm/format-json.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh -e
FILES=$(find . src -maxdepth 3 -name cpmfile.json)
for file in $FILES; do
jq --indent 4 < $file > $file.new
mv $file.new $file
done