2019-05-12 13:58:14 +00:00
|
|
|
# This `Makefile` is intended for Cowrie developers.
|
2019-05-04 16:34:16 +00:00
|
|
|
|
|
|
|
# Dummy target `all`
|
|
|
|
all:
|
|
|
|
|
2019-05-12 17:38:49 +00:00
|
|
|
test:
|
|
|
|
tox
|
2019-05-04 16:34:16 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
python setup.py build sdist bdist
|
|
|
|
|
|
|
|
docs:
|
|
|
|
make -C docs html
|
2019-05-12 13:58:14 +00:00
|
|
|
|
|
|
|
lint:
|
2019-05-12 17:38:49 +00:00
|
|
|
tox -e lint
|
2019-05-12 13:58:14 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf _trial_temp build dist
|
|
|
|
|
|
|
|
pip-upgrade:
|
|
|
|
pip install --upgrade -r requirements.txt
|
|
|
|
|
|
|
|
pip-check:
|
|
|
|
pip check
|
2019-05-29 01:17:45 +00:00
|
|
|
|
|
|
|
# This assumes two remotes, one is `origin`, your fork. The second is `cowrie` the main project
|
|
|
|
git-remote:
|
|
|
|
git remote add cowrie https://github.com/cowrie/cowrie
|
|
|
|
|
|
|
|
dependency-upgrade:
|
|
|
|
git checkout master
|
2020-11-10 03:54:05 +00:00
|
|
|
git branch -D "dependency-upgrade-`date +%Y-%m-%d`"
|
2019-05-29 01:17:45 +00:00
|
|
|
git checkout -b "dependency-upgrade-`date +%Y-%m-%d`"
|
2020-07-03 07:24:45 +00:00
|
|
|
pur -r requirements.txt
|
|
|
|
pur -r requirements-dev.txt
|
|
|
|
pur -r requirements-output.txt
|
|
|
|
git commit -m "dependency upgrade `date`" requirements*.txt
|