Created
August 7, 2015 10:54
-
-
Save 1951FDG/5a070d64dc467482e553 to your computer and use it in GitHub Desktop.
Checking list of included CSS files in bower.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read line | |
do | |
FILE=$line | |
if [ ! -e "${1}/${FILE}" ]; then | |
echo "File not found! - ${FILE}" | |
fi | |
done < "${2}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy text: bower.json | |
go to: https://jqplay.org/ | |
apply filter: .overrides["semantic-ui"].main[] | |
manipulate text output: remove double quotes and terminate with newline | |
save to file 'filelist.txt' in root directory of file: filetest.sh | |
cd to root directory of file: filetest.sh | |
run script: ./filetest.sh ~/Developer/SixtyFourWeb/bower_components/semantic-ui filelist.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment