Skip to content

Commit eb9b5ac

Browse files
authoredJun 27, 2021
Merge pull request magpylib#342 from magpylib/development
Add deployment makefile (magpylib#341)
2 parents 6b0d921 + 6e882e2 commit eb9b5ac

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎Makefile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.PHONY: help clean dev docs package test
2+
3+
help:
4+
@echo "This project assumes that an active Python virtualenv is present."
5+
@echo "The following make targets are available:"
6+
@echo " dev install all deps for dev env"
7+
@echo " docs create pydocs for all relveant modules"
8+
@echo " test run all tests with coverage"
9+
10+
clean:
11+
rm -rf dist/*
12+
13+
dev:
14+
pip install twine
15+
pip install .
16+
17+
package:
18+
python setup.py sdist
19+
20+
test:
21+
coverage run -m pytest
22+
coverage html

0 commit comments

Comments
 (0)
Please sign in to comment.