forked from cowrie/cowrie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
38 lines (28 loc) · 771 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
34
35
36
37
38
# This `Makefile` is intended for Cowrie developers.
# Dummy target `all`
all:
test:
tox
build:
python setup.py build sdist bdist
docs:
make -C docs html
lint:
tox -e lint
clean:
rm -rf _trial_temp build dist
pip-upgrade:
pip install --upgrade -r requirements.txt
pip-check:
pip check
# 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
git branch -D "dependency-upgrade-`date -u +%Y-%m-%d`"
git checkout -b "dependency-upgrade-`date -u +%Y-%m-%d`"
pur -r requirements.txt
pur -r requirements-dev.txt
pur -r requirements-output.txt
git commit -m "dependency upgrade `date -u`" requirements*.txt