diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-29 23:08:07 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-29 23:08:07 +0200 |
commit | daebe1981a0df80187660d5aeda497fe43bf3531 (patch) | |
tree | 30f4df9f3d6bf88c0a3b4199faccf9a30f357351 /Makefile | |
parent | 08191f980f96ae7fc943c0a7d2155a9fb643eb0b (diff) | |
download | survey-daebe1981a0df80187660d5aeda497fe43bf3531.tar.gz survey-daebe1981a0df80187660d5aeda497fe43bf3531.tar.bz2 survey-daebe1981a0df80187660d5aeda497fe43bf3531.zip |
missing files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b5c1128 --- /dev/null +++ b/Makefile @@ -0,0 +1,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/ |