Add the rest
All checks were successful
test and deploy / test (3.11.5) (push) Successful in 1m23s
test and deploy / push-and-build (push) Successful in 59s
Test Helper Module / test (3.11.5) (push) Successful in 1m28s

This commit is contained in:
2025-10-16 14:04:02 -06:00
parent ab860b8cab
commit 3032210a85
18 changed files with 2319 additions and 0 deletions

25
makefile Normal file
View File

@@ -0,0 +1,25 @@
core_path = src/py/bot_core.py
aux_path = src/py/bot_aux.py
db_helper_path = src/py/helper/db_helper.py
db_tests_path = src/py/db_helper_tests.py
compose_up:
docker compose up --build
compose_up_dev:
docker compose --file "dev-compose.yaml" up --build
clean:
docker compose down
run_listener:
python $(core_path) xiv-database.ini xiv-discord.token 477298331777761280 927271992216920146
run_linter:
pylint --rcfile pylint.toml $(core_path) $(aux_path) $(db_helper_path)
run_tests:
pytest $(db_tests_path)
generate_backup:
tar cvf backups/"backup-"$$(date -Idate).tar .