-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
43 lines (33 loc) · 792 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
play:
@./run.sh
dev:
@./dev.sh
migrate:
python migrate.py $(id)
venv:
pyenv install 3.10 --skip-existing
pyenv virtualenv -f 3.10 myning
pyenv local myning
pip install -r requirements.txt
venv-dev:
pyenv install 3.10 --skip-existing
pyenv virtualenv -f 3.10 myning-dev
pyenv local myning-dev
pip install -r requirements.txt
pip install -r requirements-dev.txt
deps-install:
pip install -r requirements.txt
pip install -r requirements-dev.txt
deps-compile:
pip-compile --no-emit-index-url --no-emit-trusted-host requirements.in
pip-compile --no-emit-index-url --no-emit-trusted-host requirements-dev.in
pip install -r requirements.txt
pip install -r requirements-dev.txt
lint: isort black
@true
isort:
isort . --check --diff
black:
black . --check
test:
pytest