mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Drop beautifulsoup4, jwt, python-dateutil and flake8. The jwt package is not PyJWT, so -M wam never decoded a token; decode the payload with the stdlib instead. Replace relativedelta in --pso, which also fixes minutes for durations of one hour or more.
20 lines
485 B
Makefile
20 lines
485 B
Makefile
.PHONY: tests
|
|
|
|
default: build
|
|
|
|
clean:
|
|
rm -f -r build/
|
|
rm -f -r bin/
|
|
rm -f -r dist/
|
|
find . -name '*.pyc' -exec rm -f {} +
|
|
find . -name '*.pyo' -exec rm -f {} +
|
|
find . -name '*~' -exec rm -f {} +
|
|
find . -name '__pycache__' -exec rm -rf {} +
|
|
find . -name '.pytest_cache' -exec rm -rf {} +
|
|
|
|
tests:
|
|
ruff check .
|
|
|
|
requirements:
|
|
poetry export --without-hashes -f requirements.txt -o requirements.txt
|
|
poetry export --without-hashes --dev -f requirements.txt -o requirements-dev.txt
|