Skip to content

Commit 3ed9721

Browse files
committed
CI printf debugging
1 parent 173952c commit 3ed9721

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -x
4+
35
fetch_deps=0
46
watch=0
57
no_jekyll=0
@@ -44,6 +46,8 @@ echo "Generating images..."
4446
./gen-icon.sh assets/opengraph-*.svg assets/twitter-*.svg &
4547
./gen-icon.sh favicon/favicon.svg --sizes=512,256,255,192,180,150,128,96,72,64,48,32,24,20,16 --apple &
4648
wait
49+
ls -AlF assets
50+
ls -AlF favicon
4751
ln -fT favicon/favicon.g.ico favicon.ico
4852
ln -fT favicon/apple-touch-icon.g.png apple-touch-icon.png
4953
echo "Done"

gen-icon.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -x
4+
35
app_name="$(basename "${BASH_SOURCE[0]}")"
46

57
USAGE=$(cat << EOF
@@ -86,7 +88,8 @@ fi
8688
export_png() {
8789
# https://gitlab.com/inkscape/inkscape/-/issues/4716#note_1898150983
8890
if [[ $3 -nt $2 ]]; then
89-
SELF_CALL=xxx inkscape -C -w "$1" -h "$1" -o "$2" "$3" 2>/dev/null
91+
SELF_CALL=xxx inkscape -C -w "$1" -h "$1" -o "$2" "$3" 2>/dev/null &&
92+
magick identify "$2"
9093
fi
9194
}
9295

0 commit comments

Comments
 (0)