Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 10 lines (8 sloc) 273 Bytes
#!/usr/bin/env bash
set -e
echo "[]" > streams.json
for i in $(ls cincinnati-graph-data/channels/*.yaml | sort); do
cat streams.json | jq ". += [\"$(basename "$i" .yaml)\"]" > streams.json.new
rm streams.json && mv streams.json.new streams.json
done
cat streams.json