diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-29 19:10:24 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-29 19:10:24 +0200 |
commit | e50d7d0a57dced455f93b0f462e48065a1f0b764 (patch) | |
tree | d73a86255797200f989fa944086d04a6df6ea9dd /Makefile | |
parent | e7c20a11fac21ab485b17feec81d0887be4cf5eb (diff) | |
download | donations-e50d7d0a57dced455f93b0f462e48065a1f0b764.tar.gz donations-e50d7d0a57dced455f93b0f462e48065a1f0b764.tar.bz2 donations-e50d7d0a57dced455f93b0f462e48065a1f0b764.zip |
add missing files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1d98268 --- /dev/null +++ b/Makefile @@ -0,0 +1,40 @@ +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: + @export TALER_CONFIG_FILE=talerblog/tests.conf; \ + python3 setup.py test + +.PHONY: clean +clean: + @echo nothing to do + +.PHONY: dist +dist: + git archive --format=tar.gz HEAD -o taler-merchant-donations.tar.gz + +.PHONY: pretty +pretty: + yapf -r -i talerdonations/ |