Web service voor het LED-display
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# match default value of app_name from cookiecutter.json
|
|
|
|
COOKIE := myflaskapp
|
|
|
|
COOKIE_JAR := {{cookiecutter.app_name}}
|
|
|
|
COOKIE_CRUMBS := $(shell find $(COOKIE_JAR))
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: test
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
test: $(COOKIE)
|
|
|
|
cd $(COOKIE); pip install -r requirements/dev.txt
|
|
|
|
cd $(COOKIE); coverage run --source $(COOKIE) manage.py test
|
|
|
|
cd $(COOKIE); coverage report -m
|
|
|
|
|
|
|
|
$(COOKIE): Makefile cookiecutter.json $(COOKIE_CRUMBS)
|
|
|
|
cookiecutter . --no-input
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -r $(COOKIE)
|