Chore(Fortune): add pre-commit to check special events

This commit is contained in:
2025-02-17 12:10:37 +08:00
parent 32e3156d30
commit 3a04365e5d
2 changed files with 27 additions and 0 deletions

7
scripts/check-events.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
set -e
python3 scripts/check-events.py fortune_generator/json/custom_special.json custom
python3 scripts/check-events.py fortune_generator/json/cyclical_special.json cyclical
python3 scripts/check-events.py fortune_generator/json/static_special.json static