-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
50 lines (42 loc) · 1.05 KB
/
tox.ini
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
[tox]
skipsdist = True
envlist = watch
[pytest]
addopts = -lvx
[testenv]
passenv = *
whitelist_externals =
echo
git
rm
deps =
--editable
/home/ob/do/i3configger-dev/i3configger
[testenv:watch]
commands = i3configger --watch --i3-refresh-msg reload
[testenv:watch-restart]
commands = i3configger --watch --i3-refresh-msg restart
[testenv:docs-auto]
description = "Run a development server for working on documentation"
commands =
mkdocs build --clean
echo "###### Starting local server. Press Control+C to stop server ######"
mkdocs serve -a localhost:8080
[testenv:docs-clean]
description = "clean all local docs artifacts"
deps =
mkdocs
mkdocs-material
commands = rm -rf docs/build
[testenv:docs-deploy]
description = "built fresh docs and deploy them"
deps =
mkdocs
mkdocs-material
commands = mkdocs gh-deploy --clean
[testenv:docs-deploy-force]
description = "completely destroy docs branch and deploy fresh"
commands =
- git branch -D gh-pages
- git push origin --delete gh-pages
mkdocs gh-deploy --clean