wfuzz/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2018-05-20 23:46:58 +03:00
.PHONY: docs
test:
pip install tox
tox --recreate
flake8:
2020-06-04 23:01:23 +03:00
black --check src tests
flake8 src tests
2018-05-20 23:46:58 +03:00
publish:
pip install 'twine>=1.5.0'
python setup.py sdist
twine upload dist/*
rm -fr build dist
publish-dev:
pip install 'twine>=1.5.0'
python setup.py sdist
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
rm -fr build dist
docs:
2020-08-10 23:54:24 +03:00
pip install -e ".[docs]"
2018-05-20 23:46:58 +03:00
cd docs && make html
coverage:
2020-06-04 23:01:23 +03:00
coverage report --skip-covered --include "*python3.8/site-packages/wfuzz*" -m
2020-08-10 23:54:24 +03:00
install: install-dev
pip install -r requirements.txt
2020-08-10 23:57:43 +03:00
install-dev:
2020-08-10 23:42:14 +03:00
pip install -e ".[dev]"
freeze:
pip-compile --output-file requirements.txt setup.py
2020-10-24 17:23:25 +03:00
help:
@echo "make help Show this help message"
@echo "make test Run local tests with tox"
@echo "make flake8 Run the code linter(s) and print any warnings"
@echo "make publish Publish pip lib to pypi"
@echo "make publish-dev Publish pip lib to pypi test"
@echo "make docs Create html docs"
@echo "make install Install requirements"
@echo "make install-dev Install dev requirements"