forked from tmux-python/tmuxp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmuxp.json
74 lines (74 loc) · 2.21 KB
/
.tmuxp.json
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
{
"windows": [
{
"panes": [
{
"shell_command": [
"reset",
"vim",
":Ex"
],
"focus": true
},
{
"shell_command": [
"echo hi"
]
},
{
"shell_command": [
"command -v .env/bin/tmuxp >/dev/null 2>&1 || { pip install -e .; }",
"command -v watching_testrunner >/dev/null 2>&1 || { pip install watching_testrunner; }",
"watching_testrunner --basepath ./ --pattern=\"*.py\" 'python run_tests.py'"
]
}
],
"shell_command_before": [
"command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }",
"[ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env",
"[ ! -d .env/build ] || rm -rf .env/build"
],
"layout": "main-horizontal",
"window_name": "tmuxp",
"options": {
"main-pane-height": 35
}
},
{
"panes": [
{
"shell_command": [
"reset",
"vim",
":Ex"
],
"focus": true
},
"pwd",
"echo 'docs built to <http://0.0.0.0:8000/_build/html>'; python -m SimpleHTTPServer",
{
"shell_command": [
"command -v sphinx-quickstart >/dev/null 2>&1 || { pip install -r requirements.pip; }",
"command -v watching_testrunner >/dev/null 2>&1 || { pip install watching_testrunner; }",
"watching_testrunner --basepath ./ --pattern=\"*.rst\" 'make html'",
"python -m SimpleHTTPServer"
]
}
],
"shell_command_before": [
"command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }",
"[ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env",
"[ ! -d .env/build ] || rm -rf .env/build",
"command -v .env/bin/tmuxp >/dev/null 2>&1 || { pip install -e .; }",
"cd ./doc"
],
"layout": "main-horizontal",
"window_name": "docs",
"options": {
"main-pane-height": 35
}
}
],
"session_name": "tmuxp",
"start_directory": "./"
}