forked from vyperlang/vyper
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 638 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 638 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
.PHONY: docsclean-pyc clean-build docs
init:
python setup.py install
test:
python setup.py test
clean: clean-build clean-pyc
clean-build:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
docs:
rm -f docs/viper.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ -d 2 viper/
$(MAKE) -C docs clean
$(MAKE) -C docs html
open docs/_build/html/index.html
docker-build:
@docker build -t viper \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` .