-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 749 Bytes
/
Makefile
File metadata and controls
34 lines (24 loc) · 749 Bytes
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
PKG_NAMESPACE = yhttp.markdown
PKG_NAME = yhttp-markdown
PYTEST_FLAGS = -vv
PYDEPS_COMMON = \
'coveralls' \
'bddrest >= 6.1.1, < 7' \
'bddcli >= 2.5.1, < 3' \
'yhttp-dev >= 3.2.4' \
'requests'
# Assert the python-makelib version
PYTHON_MAKELIB_VERSION_REQUIRED = 1.5.5
# Ensure the python-makelib is installed
PYTHON_MAKELIB_PATH = /usr/local/lib/python-makelib
ifeq ("", "$(wildcard $(PYTHON_MAKELIB_PATH))")
MAKELIB_URL = https://github.com/pylover/python-makelib
$(error python-makelib is not installed. see "$(MAKELIB_URL)")
endif
# Include a proper bundle rule file.
include $(PYTHON_MAKELIB_PATH)/venv-lint-test-webapi.mk
YHTTP_FLAGS = \
-Odebug=True \
-Cexamples
serve:
$(PREFIX)/bin/yhttp-markdown $(YHTTP_FLAGS) serve