-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
48 lines (33 loc) · 905 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
clean:
rm -rf __pycache__/ .cache/ .mypy_cache/
rm -f lint.txt type.txt nowallet.log nowallet.ini
rm -rf nowallet/__pycache__/ nowallet/.mypy_cache/
init:
pip3 install -r requirements.txt
init-kivy:
pip3 install -r requirements-kivy.txt
init-dev:
pip3 install -r requirements-dev.txt
install:
pip3 install -e .
uninstall:
pip3 uninstall nowallet
test:
tox
go:
python3 -m nowallet
go-spend:
python3 -m nowallet spend rbf
go-kivy:
python3 main.py
go-daemon:
export NW_LOG=ERR && python3 nowalletd.py foo1 bar1
go-server:
python3 server.py tbtc
go-gunicorn:
gunicorn server:global_app --bind unix:endpoint.sock --worker-class aiohttp.GunicornWebWorker &
lint:
pylint nowallet/*.py > lint.txt
type:
mypy --ignore-missing-imports nowallet/*.py > type.txt
.PHONY: clean init init-kivy init-dev install uninstall test go go-spend go-kivy go-daemon go-server go-gunicorn lint type