-
Notifications
You must be signed in to change notification settings - Fork 65
/
Makefile
49 lines (32 loc) · 1012 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 代码生成相关
include mk/code.mk
# 本地开发相关
include mk/local.mk
# i18n 命令
include mk/i18n.mk
download-open-api-file:
rm -f openapi.json || true
wget https://api.tbk.qiyutech.tech/openapi.json
shell:
cd tbk && poetry run python manage.py shell
clean-log:
rm logs/*.log
dev-build:
docker-compose build --no-cache
dev-run:
docker-compose up
comby-async-def-dry-run:
comby -config comby/async_def.toml -directory tbk/core/api/api -matcher .py
comby-async-def-in-place:
comby -in-place -config comby/async_def.toml -directory tbk/core/api/api -matcher .py
comby-get-ztk-api-v2-dry-run:
comby -config comby/get_ztk_api_v2.toml -directory tbk -matcher .py
comby-get-ztk-api-v2-in-place:
comby -in-place -config comby/get_ztk_api_v2.toml -directory tbk -matcher .py
copy-static-to-cdn-git:TARGET_DIR=~/QiYuTechDev/QiYuStatic/tbk2
copy-static-to-cdn-git:
cp -r static/* $(TARGET_DIR)
format:
poetry run black tbk
lock:
poetry export --without-hashes -o requirements.txt