11 lines
309 B
Bash
Executable File
11 lines
309 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
script_dir=$(CDPATH= cd "$(dirname "$0")" && pwd)
|
|
repo_root=$(CDPATH= cd "$script_dir/.." && pwd)
|
|
layouts_root=$repo_root/../../../tools/card-layouts
|
|
|
|
python3 "$layouts_root/tools/build_kr_c_card.py" "$repo_root"
|
|
exec python3 "$layouts_root/tools/render_card.py" "$repo_root" "$@"
|
|
|