-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
51 lines (27 loc) · 871 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
39
40
41
42
43
44
45
46
47
48
49
50
51
all: inline
inline: pylibscrypt/pypyscrypt_inline.py
pylibscrypt/pypyscrypt_inline.py: pylibscrypt/inline.py pylibscrypt/pypyscrypt.py
env python3 -m pylibscrypt.inline
clean:
rm -f *~ .*~ *.pyc *,cover .coverage pylibscrypt/*~ pylibscrypt/*.pyc pylibscrypt/*,cover
rm -rf __pycache__/ pylibscrypt/__pycache__/ htmlcov/
distclean: clean
rm -f MANIFEST
rm -rf build/ dist/
test: inline
env python3 -m pylibscrypt.tests
fuzz: inline
env python3 -m pylibscrypt.fuzz
coverage: inline
./run_coverage.sh
bench: inline
env python3 -m pylibscrypt.bench
pypi-upload:
env python3 setup.py sdist upload -r https://upload.pypi.org/legacy/
docker-build:
docker build -t pylibscrypt .
docker-run: docker-build
docker run -v ${PWD}:/app pylibscrypt
docker-push: docker-build
docker tag pylibscrypt jvarho/pylibscrypt
docker push jvarho/pylibscrypt