File tree Expand file tree Collapse file tree 4 files changed +16
-11
lines changed
Expand file tree Collapse file tree 4 files changed +16
-11
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11#! /usr/bin/bash
22
3- echo " [*] Export: render icons"
3+ echo " Render raster icons: "
44
55function renderIcon {
66 file=$1
@@ -18,7 +18,6 @@ function renderIconCollection {
1818 for file in $DIR /symbolic/${color} /* .svg; do
1919 renderIcon $file $color $size
2020 done
21- echo " Rendered ${color} :${size} x${size} "
2221}
2322
2423for color in black white; do
@@ -29,6 +28,8 @@ for color in black white; do
2928 while (( $(jobs - rp | wc - l) >= THREADS )) ; do
3029 wait -n
3130 done
31+
32+ echo " Finished ${color} ${size} x${size} "
3233 done
3334done
3435
Original file line number Diff line number Diff line change 11#! /usr/bin/bash
22
3- echo " [*] Export: symbolic icons"
3+ echo " Export symbolic icons: "
44
55mkdir_and_cp () {
66 mkdir -p $( dirname " $2 " ) && cp " $1 " " $2 "
@@ -14,6 +14,7 @@ function copyIcon {
1414 mkdir_and_cp $file " $DIR /symbolic/black/$dest "
1515}
1616
17+ echo -e " Copying files"
1718shopt -s globstar dotglob
1819for file in ./icons/** /* .svg; do
1920 parent_dir=$( basename $( dirname " $file ../" ) )
3233
3334wait
3435
35- echo " 1/1) Apply colors"
36+ echo -e " Applying colors"
3637sed -i ' s/#ffffff/#ffffff/g' $DIR /symbolic/white/*
3738sed -i ' s/#ffffff/#000000/g' $DIR /symbolic/black/*
3839sed -i ' s/#ffffff/currentColor/g' $DIR /symbolic/web/*
Original file line number Diff line number Diff line change @@ -17,24 +17,27 @@ rm -rf $DIR/*
1717
1818cp ./LICENSE $DIR /.
1919
20- source ./build .symbolic.sh
21- source ./build .raster.sh
20+ source ./_build .symbolic.sh
21+ source ./_build .raster.sh
2222
23+ echo " Compress:"
2324cd $DIR
24- echo " ==> Compress into .tar.gz"
25+ echo " Compress into .tar.gz"
2526tar -czf /tmp/eyecons.tar.gz ./LICENSE ./raster ./symbolic
26- echo " ==> Compress into .zip"
27+ echo " Compress into .zip"
2728zip -rq /tmp/eyecons.zip .
2829cd ..
2930mv /tmp/eyecons.tar.gz " $NAME .tar.gz"
3031mv /tmp/eyecons.zip " $NAME .zip"
3132
32- echo " ==> Symlinking ./build/latest/"
33+ echo " Symlinking ./build/latest/"
3334rm latest
3435ln -s $NAME latest
3536
3637cd ..
37- echo " ==> Generating CHANGELOG"
38+ echo " Generating CHANGELOG.md... "
3839old_dir=" /tmp/eyecons-previous/symbolic/white/"
3940new_dir=" ${DIR} /symbolic/white/"
40- source ./build.changelog.sh
41+ source ./_build.changelog.sh
42+
43+ echo " Done."
You can’t perform that action at this time.
0 commit comments