mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-05-28 03:39:59 +08:00
chore: 整理代码逻辑,留出下载字幕的入口
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: install fmt start-daemon start-once
|
||||
.PHONY: install fmt start-daemon start-once db-init db-migrate db-upgrade sync-conf
|
||||
|
||||
install:
|
||||
@echo "Installing dependencies..."
|
||||
@@ -22,4 +22,10 @@ db-migrate:
|
||||
@poetry run aerich migrate
|
||||
|
||||
db-upgrade:
|
||||
@poetry run aerich upgrade
|
||||
@poetry run aerich upgrade
|
||||
|
||||
sync-conf:
|
||||
@echo "Syncing config..."
|
||||
@cp ${CONFIG_SRC} ./config/
|
||||
@cp ${DB_SRC} ./data/
|
||||
@echo "Done."
|
||||
Reference in New Issue
Block a user