2019-06-05 10:41:12 +02:00
|
|
|
#!/usr/bin/env zsh
|
2016-11-20 20:08:24 +01:00
|
|
|
|
|
|
|
tmux -2 new-session -d -s uxbox
|
|
|
|
|
|
|
|
tmux new-window -t uxbox:1 -n 'figwheel'
|
|
|
|
tmux select-window -t uxbox:1
|
2016-11-20 20:40:30 +01:00
|
|
|
tmux send-keys -t uxbox 'cd uxbox/frontend' enter C-l
|
2019-07-19 08:37:21 +00:00
|
|
|
tmux send-keys -t uxbox 'clojure -Adev tools.clj figwheel' enter
|
2016-11-20 20:08:24 +01:00
|
|
|
|
|
|
|
tmux new-window -t uxbox:2 -n 'backend'
|
|
|
|
tmux select-window -t uxbox:2
|
2016-11-20 20:40:30 +01:00
|
|
|
tmux send-keys -t uxbox 'cd uxbox/backend' enter C-l
|
2019-09-20 17:31:03 +02:00
|
|
|
# tmux send-keys -t uxbox 'clojure -Adev -m uxbox.fixtures' enter C-l
|
2019-06-05 08:26:05 +00:00
|
|
|
tmux send-keys -t uxbox 'clojure -Adev:repl' enter
|
2016-11-20 20:08:24 +01:00
|
|
|
|
|
|
|
tmux rename-window -t uxbox:0 'gulp'
|
|
|
|
tmux select-window -t uxbox:0
|
2016-11-20 20:40:30 +01:00
|
|
|
tmux send-keys -t uxbox 'cd uxbox/frontend' enter C-l
|
2019-07-19 08:37:21 +00:00
|
|
|
tmux send-keys -t uxbox 'if [ ! -e ./node_modules ]; then npm ci; fi' enter C-l
|
|
|
|
tmux send-keys -t uxbox 'npx gulp watch' enter
|
2016-11-20 20:08:24 +01:00
|
|
|
|
|
|
|
tmux -2 attach-session -t uxbox
|