Skip to content

Commit 883e3f7

Browse files
committed
adjusting make targets
1 parent 15a35fb commit 883e3f7

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Makefile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ SHELL=/bin/sh
33
.SILENT:
44
.IGNORE:
55

6+
.PHONY: dev
7+
dev: build
8+
pipenv install -e .
9+
610
.PHONY: help
711
help:
812
echo
@@ -13,20 +17,22 @@ help:
1317
echo
1418
echo ' * clean: remove all build artefacts'
1519
echo ' * build: builds the Python package'
16-
echo ' * deps: Installs Python build dependencies into a Pipenv environment'
20+
echo ' * install: builds and installs into pipenv environment'
21+
echo ' * test: runs unit tests'
22+
echo ' * help: display help message'
1723

1824
.PHONY: build
1925
build:
2026
pipenv run python setup.py bdist bdist_wheel
2127
rm -rf tmp/
2228

23-
.PHONY: dev
24-
dev:
25-
pipenv install --dev
26-
2729
.PHONY: clean
2830
clean:
2931
echo Cleaning ...
3032
rm -rf build/
3133
rm -rf tmp/
3234
echo ... done
35+
36+
.PHONY: test
37+
test:
38+
pytest ./tests

0 commit comments

Comments
 (0)