-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmasas.yml
More file actions
40 lines (30 loc) · 1.6 KB
/
masas.yml
File metadata and controls
40 lines (30 loc) · 1.6 KB
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
# ~/.tmuxinator/masas.yml
name: masas
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: logs
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t masas
windows:
- editor:
layout: tiled
panes:
- cd ~/Documents/websites/masas/
- cd ~/Documents/websites/masas/ && source ../../env/bin/activate && python manage.py runserver
- cd ~/Documents/websites/masas/static/ && sass --watch sass/main.sass:css/sass.css
- cd ~/Documents/websites/masas/static/js/ && watchify index.jsx -t babelify -p livereactload -o bundle.js
- cd ~/Documents/websites/masas/static/js/ && browserify index.jsx -t babelify index.jsx | uglifyjs -c > bundle.min.js
- cd ~/Documents/websites/masas/static/ && sass --watch sass/main.sass:css/sass.min.css --style compressed
- vim: cd ~/Documents/websites/masas/ && nvim -c "NERDTreeToggle"