eden/tools/cpm/format.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
155 B
Bash
Raw Normal View History

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