Skip to content

Commit 4151cd0

Browse files
committed
Add Makefile for automation of common steps ExpDev07#94
1 parent 82f175b commit 4151cd0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Makefile for coronavirus-tracker-api
3+
# ~~~~~~~~~~~~~~~~~~~~~
4+
#
5+
# Combines scripts for common tasks.
6+
#
7+
8+
PYTHON ?= python3
9+
10+
PHONY: all check test
11+
12+
all: test pylint
13+
14+
APP = app
15+
TEST = tests
16+
17+
test:
18+
$(PYTHON) `which py.test` -s -v $(TEST)
19+
20+
lint:
21+
pylint $(APP) || true

0 commit comments

Comments
 (0)