From 7797107f52d5f95c510236d0f1bfc161b08b5848 Mon Sep 17 00:00:00 2001 From: Jordan Cook Date: Mon, 10 Jul 2023 17:49:13 -0500 Subject: [PATCH] Exit script if any command fails --- dither.sh => scripts/dither.sh | 2 ++ 1 file changed, 2 insertions(+) rename dither.sh => scripts/dither.sh (89%) diff --git a/dither.sh b/scripts/dither.sh similarity index 89% rename from dither.sh rename to scripts/dither.sh index 0454992..6f4d785 100755 --- a/dither.sh +++ b/scripts/dither.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash # Default settings for dithering +# Uses the didder CLI tool: https://github.com/makew0rld/didder +set -e OUT_FILE="assets/images/${1%.*}.png" PALETTE='#1d2021 #3c3836 #665c54