1+ {
2+ "windows" : [
3+ {
4+ "panes" : [
5+ {
6+ "shell_command" : [
7+ " vim" ,
8+ " :Ex"
9+ ],
10+ "focus" : true
11+ },
12+ {
13+ "shell_command" : [
14+ " echo hi"
15+ ]
16+ },
17+ {
18+ "shell_command" : [
19+ " command -v .env/bin/tmuxp >/dev/null 2>&1 || { pip install -e .; }" ,
20+ " command -v watching_testrunner >/dev/null 2>&1 || { pip install watching_testrunner; }" ,
21+ " watching_testrunner --basepath ./ --pattern=\" *.py\" 'python run_tests.py'"
22+ ]
23+ }
24+ ],
25+ "shell_command_before" : [
26+ " command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }" ,
27+ " [ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env" ,
28+ " [ ! -d .env/build ] || rm -rf .env/build"
29+ ],
30+ "layout" : " main-horizontal" ,
31+ "window_name" : " tmuxp" ,
32+ "options" : {
33+ "main-pane-height" : 50
34+ }
35+ },
36+ {
37+ "panes" : [
38+ {
39+ "shell_command" : [
40+ " vim"
41+ ],
42+ "focus" : true
43+ },
44+ " pwd" ,
45+ " echo 'docs built to <http://0.0.0.0:8000/_build/html>'; python -m SimpleHTTPServer" ,
46+ {
47+ "shell_command" : [
48+ " command -v sphinx-quickstart >/dev/null 2>&1 || { pip install -r requirements.pip; }" ,
49+ " command -v watching_testrunner >/dev/null 2>&1 || { pip install watching_testrunner; }" ,
50+ " watching_testrunner --basepath ./ --pattern=\" *.rst\" 'make html'" ,
51+ " python -m SimpleHTTPServer"
52+ ]
53+ }
54+ ],
55+ "shell_command_before" : [
56+ " command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }" ,
57+ " [ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env" ,
58+ " [ ! -d .env/build ] || rm -rf .env/build" ,
59+ " command -v .env/bin/tmuxp >/dev/null 2>&1 || { pip install -e .; }" ,
60+ " cd ./doc"
61+ ],
62+ "layout" : " main-horizontal" ,
63+ "window_name" : " docs" ,
64+ "options" : {
65+ "main-pane-height" : 50
66+ }
67+ }
68+ ],
69+ "session_name" : " tmuxp"
70+ }
0 commit comments