Repository navigation
Expand file tree
/
Copy path.tmuxinator.yml
More file actions
63 lines (58 loc) · 1.89 KB
/
Copy path.tmuxinator.yml
File metadata and controls
63 lines (58 loc) · 1.89 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Oswin
root: ./
startup_window: 2
startup_pane: 3
# Runs before everything. Use it to start daemons etc.
on_project_start:
- echo starting stack...
# 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
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: input
pre_window:
windows:
- workspace:
layout: even-vertical
panes:
- work:
- printf '\033]2;%s\033\\' 'workspace'
- clear
- app:
layout: even-vertical
panes:
- database:
- printf '\033]2;%s\033\\' 'database'
- cd database
- mkdir -p data
- mkdir -p mssql
- docker compose up
- server:
- printf '\033]2;%s\033\\' 'app'
- cd src/Oswin
- kill -9 $(lsof -t -i tcp:5001)
- kill -9 $(lsof -t -i tcp:5000)
- dotnet watch run
- workspace:
- printf '\033]2;%s\033\\' 'app-workspace'
- cd src/Oswin
- clear
- tests:
layout: even-vertical
panes:
- marten-test:
- printf '\033]2;%s\033\\' 'marten-test'
- cd src/Oswin.IntegrationTests/test-database
- docker compose up
- hwp-test:
- printf '\033]2;%s\033\\' 'hwp-test'
- cd src/Oswin.IntegrationTests/TestSetup/Resources/Hwp
- docker compose up
- frontend:
layout: even-vertical
panes:
- tailwind:
- printf '\033]2;%s\033\\' 'vite-build'
- cd src/Oswin
- npx tailwindcss -i ./wwwroot/css/input.css -o ./wwwroot/css/site.css --watch