forked from crossbario/autobahn-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
76 lines (62 loc) · 1.97 KB
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
all:
@echo "Targets:"
@echo ""
@echo " clean : cleanup build artifacts"
@echo " test : build everything and run locally"
@echo " test_no_network : build everything for no network access and run locally"
@echo " publish : build everything and publish to S3"
@echo " copy : copy over shared files to other AutobahnXXX repos"
@echo " install_deps : install build dependencies"
@echo " spelling : run spell checking"
@echo " doctest : run doctests"
@echo ""
build:
scons
build_no_network:
scons --no_network
test: build
python serve.py --root ./_build --silence
test_no_network: build_no_network
python serve.py --root ./_build --silence
clean:
rm -rf _build
rm -rf _build_uploaded
rm -rf _static/img/gen
rm -rf _test
rm -rf _spelling
publish: clean build
scons publish
doctest:
PYTHONPATH=../autobahn sphinx-build -b doctest -v . _test
copy_makefile:
cp Makefile ../../AutobahnJS/doc/
cp Makefile ../../AutobahnAndroid/doc/
cp Makefile ../../AutobahnCpp/doc/
cp Makefile ../../AutobahnTestsuite/doc/
copy_gitignore:
cp .gitignore ../../AutobahnJS/doc/
cp .gitignore ../../AutobahnAndroid/doc/
cp .gitignore ../../AutobahnCpp/doc/
cp .gitignore ../../AutobahnTestsuite/doc/
copy_serve:
cp serve.py ../../AutobahnJS/doc/
cp serve.py ../../AutobahnAndroid/doc/
cp serve.py ../../AutobahnCpp/doc/
cp serve.py ../../AutobahnTestsuite/doc/
# copy_readme:
# cp README.md ../../AutobahnJS/doc/
# cp README.md ../../AutobahnAndroid/doc/
# cp README.md ../../AutobahnCpp/doc/
# cp README.md ../../AutobahnTestsuite/doc/
copy: copy_makefile copy_gitignore copy_serve
install_deps:
pip install -U scour
pip install -U taschenmesser
#pip install -U scons
pip install -U sphinx
pip install -U sphinx-bootstrap-theme
pip install -U pyenchant
pip install -U sphinxcontrib-spelling
pip install -U repoze.sphinx.autointerface
spelling:
PYTHONPATH=../autobahn sphinx-build -b spelling . _spelling