mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
update generate json, remove last comma
This commit is contained in:
parent
db74cdd14e
commit
15aef9ab84
File diff suppressed because one or more lines are too long
@ -60,6 +60,10 @@ ls -1 $SCRIPT_PATH/../.tmp/*.sh | while read a; do createColors "$a" >> $SCRIPT_
|
|||||||
echo ' ]' >> $SCRIPT_PATH/../gh-pages/data/themes.json
|
echo ' ]' >> $SCRIPT_PATH/../gh-pages/data/themes.json
|
||||||
echo '}' >> $SCRIPT_PATH/../gh-pages/data/themes.json
|
echo '}' >> $SCRIPT_PATH/../gh-pages/data/themes.json
|
||||||
|
|
||||||
|
cat $SCRIPT_PATH/../gh-pages/data/themes.json | tr -d " \t\n\r" > $SCRIPT_PATH/../gh-pages/data/themes.json.tmp
|
||||||
|
sed 's/},]}/}]}/g' $SCRIPT_PATH/../gh-pages/data/themes.json.tmp > $SCRIPT_PATH/../gh-pages/data/themes.json
|
||||||
|
rm $SCRIPT_PATH/../gh-pages/data/themes.json.tmp
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "File location:"
|
echo "File location:"
|
||||||
echo -e "${GREEN} gh-pages/data/themes.json"
|
echo -e "${GREEN} gh-pages/data/themes.json"
|
||||||
|
Loading…
Reference in New Issue
Block a user