mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 02:08:24 +02:00
🐳 Improve devenv and build steps (jvm-opts and upgrades).
This commit is contained in:
parent
009a626419
commit
df03b03818
9 changed files with 24 additions and 13 deletions
21
docker/devenv/files/start-tmux.sh
Executable file
21
docker/devenv/files/start-tmux.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
tmux -2 new-session -d -s uxbox
|
||||
|
||||
tmux new-window -t uxbox:1 -n 'figwheel'
|
||||
tmux select-window -t uxbox:1
|
||||
tmux send-keys -t uxbox 'cd uxbox/frontend' enter C-l
|
||||
tmux send-keys -t uxbox 'clojure -Adev tools.clj figwheel' enter
|
||||
|
||||
tmux new-window -t uxbox:2 -n 'backend'
|
||||
tmux select-window -t uxbox:2
|
||||
tmux send-keys -t uxbox 'cd uxbox/backend' enter C-l
|
||||
tmux send-keys -t uxbox './bin/start-dev' enter
|
||||
|
||||
tmux rename-window -t uxbox:0 'gulp'
|
||||
tmux select-window -t uxbox:0
|
||||
tmux send-keys -t uxbox 'cd uxbox/frontend' enter C-l
|
||||
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
|
||||
|
||||
tmux -2 attach-session -t uxbox
|
Loading…
Add table
Add a link
Reference in a new issue