-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (22 loc) · 623 Bytes
/
Makefile
File metadata and controls
22 lines (22 loc) · 623 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
init:
pip install masonite_cli --user
pip install -r requirements.txt --user
pip install -e . --user
test:
python -m pytest tests
ci:
make test
make lint
lint:
python -m flake8 masonite/ --ignore=E501,F401,E128,E402,E731,F821,E712,W503
deepsource:
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml
coverage:
python -m pytest --cov-report term --cov-report xml --cov=masonite tests/
python -m coveralls
publish:
pip install 'twine>=1.5.0'
python setup.py sdist bdist_wheel
twine upload dist/*
rm -fr build dist .egg masonite.egg-info