|
|
@@ -7,21 +7,21 @@ function gen |
|
|
|
fileName=$2 |
|
|
|
target=$3 |
|
|
|
|
|
|
|
echo -n "['$name', '" >> $target |
|
|
|
echo -n "'$name' : '" >> $target |
|
|
|
base64 $fileName | tr -d \\n >> $target |
|
|
|
echo -e "'],\n" >> $target |
|
|
|
echo -e "',\n" >> $target |
|
|
|
} |
|
|
|
|
|
|
|
function genIcons |
|
|
|
{ |
|
|
|
target=$1 |
|
|
|
|
|
|
|
echo -e "function RR() { return [\n" > $target |
|
|
|
echo -e "function RR() { return {\n" > $target |
|
|
|
|
|
|
|
gen "layout" "boxes-solid.svg" $target |
|
|
|
gen "info" "info-solid.svg" $target |
|
|
|
|
|
|
|
echo "]; }" >> $target |
|
|
|
echo "}; }" >> $target |
|
|
|
} |
|
|
|
|
|
|
|
genIcons "../2019-09-12.js" |