From ac15df9a60c532ce327600497e2782709a80db0c Mon Sep 17 00:00:00 2001 From: germedeb Date: Tue, 22 Feb 2022 21:01:17 -0300 Subject: [PATCH] Now all the export scripts echoes the SVG they are exporting --- tasks/export/export-actions.sh | 1 + tasks/export/export-animations.sh | 1 + tasks/export/export-apps.sh | 1 + tasks/export/export-categories.sh | 2 ++ tasks/export/export-devices.sh | 2 ++ tasks/export/export-mimetypes.sh | 2 ++ tasks/export/export-places.sh | 1 + tasks/export/export-status.sh | 2 ++ 8 files changed, 12 insertions(+) diff --git a/tasks/export/export-actions.sh b/tasks/export/export-actions.sh index 84100e4..c332704 100755 --- a/tasks/export/export-actions.sh +++ b/tasks/export/export-actions.sh @@ -5,6 +5,7 @@ do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + echo exporting ${SVG} parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/actions/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/actions/16/${N}.png ${SVG} >/dev/null 2>&1" \ diff --git a/tasks/export/export-animations.sh b/tasks/export/export-animations.sh index 08a2a10..89ab335 100755 --- a/tasks/export/export-animations.sh +++ b/tasks/export/export-animations.sh @@ -5,6 +5,7 @@ do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + echo exporting ${SVG} parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/animations/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/animations/16/${N}.png ${SVG} >/dev/null 2>&1" \ diff --git a/tasks/export/export-apps.sh b/tasks/export/export-apps.sh index e40990e..a8c2250 100755 --- a/tasks/export/export-apps.sh +++ b/tasks/export/export-apps.sh @@ -4,6 +4,7 @@ for SVG in _build/icons-t/apps/*.svg do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + echo exporting ${SVG} parallel ::: \ diff --git a/tasks/export/export-categories.sh b/tasks/export/export-categories.sh index 9bdd6e7..5ca89ff 100755 --- a/tasks/export/export-categories.sh +++ b/tasks/export/export-categories.sh @@ -4,6 +4,8 @@ for SVG in _build/icons-t/categories/*.svg do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + + echo exporting ${SVG} parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/categories/8/${N}.png ${SVG} >/dev/null 2>&1" \ diff --git a/tasks/export/export-devices.sh b/tasks/export/export-devices.sh index b20342d..d40ce9b 100755 --- a/tasks/export/export-devices.sh +++ b/tasks/export/export-devices.sh @@ -4,6 +4,8 @@ for SVG in _build/icons-t/devices/*.svg do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + + echo exporting ${SVG} parallel ::: \ "inkscape -w 16 -h 16 -o _build/aleta/devices/16/${N}.png ${SVG} >/dev/null 2>&1" \ diff --git a/tasks/export/export-mimetypes.sh b/tasks/export/export-mimetypes.sh index f7c70b9..441d0aa 100755 --- a/tasks/export/export-mimetypes.sh +++ b/tasks/export/export-mimetypes.sh @@ -4,6 +4,8 @@ for SVG in _build/icons-t/mimetypes/*.svg do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + + echo exporting ${SVG} parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/mimetypes/8/${N}.png ${SVG} >/dev/null 2>&1" \ diff --git a/tasks/export/export-places.sh b/tasks/export/export-places.sh index 3697262..51e1369 100755 --- a/tasks/export/export-places.sh +++ b/tasks/export/export-places.sh @@ -6,6 +6,7 @@ do N=$(basename ${SVG} .svg) echo exporting ${SVG} + parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/places/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/places/16/${N}.png ${SVG} >/dev/null 2>&1" \ diff --git a/tasks/export/export-status.sh b/tasks/export/export-status.sh index 47b4f67..78c8362 100755 --- a/tasks/export/export-status.sh +++ b/tasks/export/export-status.sh @@ -5,6 +5,8 @@ do if [[ -f "${SVG}" ]]; then N=$(basename ${SVG} .svg) + echo exporting ${SVG} + parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/status/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/status/16/${N}.png ${SVG} >/dev/null 2>&1" \