eden/tools/cpm/format.sh
crueter aad0ee6c58 [tools] refactor: update/hash checking scripts, use tags for more deps
Uses tags for a bunch of deps that can use them

Also adds a bunmch of scripts to tools/cpm, notably for checking hashes
and checking for updates.

TODO:
- Documentation
- CI target to check hashes
- Script to update the json directly (dedup)
- Function to filter tags (dedup)
- Weekly CI to check for updates

Need to get that other CI runner up

Signed-off-by: crueter <crueter@eden-emu.dev>
2025-10-05 03:04:18 +02:00

8 lines
155 B
Bash
Executable file

#!/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