-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
73 lines (64 loc) · 2.1 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
# test all modules
test:
python3 -m unittest -v tests.test_html
python3 -m unittest -v tests.test_events
python3 -m unittest -v tests.test_dom
python3 -m unittest -v tests.test_style
python3 -m unittest -v tests.test_javascript
python3 -m unittest -v tests.test_javascript_date
python3 -m unittest -v tests.test_terminal
python3 -m unittest -v tests.test_CDN
python3 -m unittest -v tests.test_JSON
python3 -m unittest -v tests.test_svg
python3 -m unittest -v tests.test_collada
python3 -m unittest -v tests.test_x3d
python3 -m unittest -v tests.test_dQuery
python3 -m unittest -v tests.test_geom
python3 -m unittest -v tests.test_d3
python3 -m unittest -v tests.test_sitemap
python3 -m unittest -v tests.test_domonic
python3 -m unittest -v tests.test_templates
python3 -m unittest -v tests.test_window
testpc:
python3 -m unittest -v tests.test_html
python3 -m unittest -v tests.test_events
python3 -m unittest -v tests.test_dom
python3 -m unittest -v tests.test_style
python3 -m unittest -v tests.test_javascript
python3 -m unittest -v tests.test_javascript_date
python3 -m unittest -v tests.test_cmd
python3 -m unittest -v tests.test_CDN
python3 -m unittest -v tests.test_JSON
python3 -m unittest -v tests.test_svg
python3 -m unittest -v tests.test_collada
python3 -m unittest -v tests.test_x3d
python3 -m unittest -v tests.test_dQuery
python3 -m unittest -v tests.test_geom
python3 -m unittest -v tests.test_d3
python3 -m unittest -v tests.test_sitemap
python3 -m unittest -v tests.test_domonic
python3 -m unittest -v tests.test_window
# test single modules
test_domonic:
python3 -m unittest -v tests.test_domonic
test_javascript:
python3 -m unittest -v tests.test_javascript
python3 -m unittest -v tests.test_javascript_date
test_html:
python3 -m unittest -v tests.test_html
test_dom:
python3 -m unittest -v tests.test_dom
test_svg:
python3 -m unittest -v tests.test_svg
format:
black domonic -l 120 && isort domonic
# release
build:
rm -rf dist/
python3 setup.py sdist bdist_wheel
rm -r build/
deploy:
rm -rf dist/
python3 setup.py sdist bdist_wheel
twine upload dist/*
rm -r build/