mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
16 lines
227 B
Bash
16 lines
227 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
cd ./icons
|
||
|
|
||
|
numFiles=$(ls -1 *.svg | wc -l)
|
||
|
count=0
|
||
|
|
||
|
echo [
|
||
|
for icon in $(ls *.svg)
|
||
|
do
|
||
|
count=$((count + 1))
|
||
|
echo -n " "\"${icon%.svg}\"
|
||
|
(($count == $numFiles)) && echo "" || echo ,
|
||
|
done
|
||
|
echo ]
|