This is useful so we aren't wasting cycles generating examples that don't need to be generated and we just cut to the chase Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
9 lines
247 B
Bash
Executable File
9 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
here="$(dirname "$(realpath "$0")")"
|
|
cd "$here/.."
|
|
|
|
echo "Generating examples/commithash.svg"
|
|
python3 -m colorhash "$(git rev-parse HEAD)" --input-type hash --hash sha1 --output-type svg --out examples/commithash.svg
|
|
|