-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
33 lines (26 loc) · 680 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
PYTHON = python
clean:
@echo "Cleaning up..."
rm -rf ./metar_taf_parser_mivek.egg-info/
rm -rf ./build/
rm -rf ./dist/
rm -rf ./htmlcov/
rm -rf ./.coverage
rm -rf ./coverage.json
rm -rf ./coverage.xml
test:
@echo "Launching test"
${PYTHON} -m pipenv run coverage run -m unittest
report: test
${PYTHON} -m pipenv run coverage html
${PYTHON} -m pipenv run coverage xml
${PYTHON} -m pipenv run coverage json
lock:
${PYTHON} -m pipenv lock
install:
@echo "Install dependencies"
${PYTHON} -m pip install flake8 pipenv
${PYTHON} -m pipenv install -d
install_deploy:
@echo "Install build/deployment dependencies"
${PYTHON} -m pip install --upgrade build --user