-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 855 Bytes
/
Makefile
File metadata and controls
38 lines (31 loc) · 855 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
35
36
37
38
PACKAGE = strudel.utils
TESTROOT = stutils
.PHONY: test
test:
python -m doctest $(TESTROOT)/*.py
python -m unittest test
.PHONY: publish
publish:
test $$(git config user.name) || git config user.name "semantic-release (via TravisCI)"
test $$(git config user.email) || git config user.email "semantic-release@travis"
semantic-release publish
.PHONY: clean
clean:
rm -rf $(PACKAGE).egg-info dist build docs/build
find -name "*.pyo" -delete
find -name "*.pyc" -delete
find -name __pycache__ -delete
.PHONY: html
html:
sphinx-build -M html "docs" "docs/build"
.PHONY: install
install:
sudo apt-get update
sudo apt-get install yajl-tools
pip install -r requirements.txt
.PHONY: install_dev
install_dev:
$(MAKE) install
pip install requests
pip install typing requests sphinx sphinx-autobuild
pip install python-semantic-release==3.11.2