blob: b5c1128737fcd8fe0c3c9324ab06756359ef8ca3 (
plain)
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
|
install_global=false
-include config.mk
.PHONY: all
all:
@echo "This is a python project, no compilation required"
.PHONY: install
ifeq ($(install_global), true)
install: install-global
else
install: install-local
endif
.PHONY: install-global
install-global:
pip3 install .
.PHONY: install-local
install-local:
pip3 install . --user
# run testcases
.PHONY: check
check:
python3 setup.py test
.PHONY: clean
clean:
@echo nothing to do
.PHONY: dist
dist:
git archive --format=tar.gz HEAD -o taler-merchant-survey.tar.gz
.PHONY: pretty
pretty:
yapf -r -i talersurvey/
|