File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 - CHANGELOG.md
55 - ISSUE_TEMPLATE.md
66 - LICENSE
7+ - node_modules
78 - bin
89 - sandbox
910 - stash
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ cd ./icons
4+
5+ numFiles=$( ls -1 * .svg | wc -l)
6+ count=0
7+
8+ echo [
9+ for icon in $( ls * .svg)
10+ do
11+ count=$(( count + 1 ))
12+ echo -n " " \" ${icon% .svg} \"
13+ (( $count == $numFiles )) && echo " " || echo ,
14+ done
15+ echo ]
Original file line number Diff line number Diff line change 44version=$( grep ' "version"' package.json | cut -d ' "' -f4)
55
66# compress 'icons' directory into feather-[version].zip
7- zip -r feather-${version} .zip ./icons/
7+ zip -r feather-${version} .zip ./icons/
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 "url" : " https://github.com/colebemis/feather.git"
88 },
99 "scripts" : {
10- "start" : " parallelshell 'jekyll serve' 'npm run watch'" ,
11- "watch" : " onchange 'icons/**/*' 'package.json' -v -i -- npm run make" ,
12- "build" : " npm run make && jekyll build" ,
13- "make" : " npm run make:manifest && npm run make:zip" ,
14- "make:manifest" : " ./bin/make-manifest.sh > manifest.json" ,
15- "make:zip" : " ./bin/make-zip.sh"
10+ "start" : " npm run build:manifest && parallelshell 'jekyll serve' 'npm run watch'" ,
11+ "watch" : " onchange 'icons/**/*' -v -- npm run build:manifest" ,
12+ "build" : " npm run build:manifest && npm run build:zip && jekyll build" ,
13+ "build:manifest" : " ./bin/build-manifest.sh > manifest.json" ,
14+ "build:zip" : " ./bin/build-zip.sh"
1615 },
1716 "license" : " MIT" ,
1817 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments