-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 721 Bytes
/
Makefile
File metadata and controls
39 lines (27 loc) · 721 Bytes
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
SHELL := /bin/bash
.PHONY: setup setup-pipenv install install-dev lint test run clean-setup clean-lint all clean
setup: install-dev
pipenv run pre-commit install
pipenv run pre-commit install --hook-type commit-msg
setup-pipenv:
python -m pip install --upgrade pip
pip install pipenv
install:
pipenv sync
install-dev:
pipenv sync --dev
lint:
pipenv run pre-commit run --all-files
test:
pipenv run pytest -n auto tests --cov
run:
pipenv run python run.py
clean-setup:
pipenv run pre-commit uninstall --hook-type commit-msg
pipenv run pre-commit uninstall
pipenv clean
clean-lint:
pipenv run pre-commit clean
pipenv run pre-commit gc
all: setup-pipenv setup lint run
clean: clean-lint clean-setup