mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-05-07 07:22:50 +08:00
25 lines
405 B
Makefile
25 lines
405 B
Makefile
.PHONY: install fmt start-daemon start-once
|
|
|
|
install:
|
|
@echo "Installing dependencies..."
|
|
@poetry install --no-root
|
|
|
|
fmt:
|
|
@echo "Formatting..."
|
|
@poetry run black .
|
|
@poetry run ruff --fix .
|
|
|
|
start-daemon:
|
|
@poetry run python entry.py
|
|
|
|
start-once:
|
|
@poetry run python entry.py --once
|
|
|
|
db-init:
|
|
@poetry run aerich init-db
|
|
|
|
db-migrate:
|
|
@poetry run aerich migrate
|
|
|
|
db-upgrade:
|
|
@poetry run aerich upgrade
|