mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 19:08:31 +02:00
misc: simplify the build scripts
This commit is contained in:
parent
53e74ec5cd
commit
3f62d7cb65
6 changed files with 22 additions and 37 deletions
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source ~/.bashrc
|
||||
|
||||
echo `env`
|
||||
|
||||
cd /home/uxbox/uxbox/frontend
|
||||
npm install || exit 1;
|
||||
npm run dist
|
||||
# TODO: WIP
|
|
@ -5,7 +5,7 @@ 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 'npm run start' enter
|
||||
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
|
||||
|
@ -16,7 +16,7 @@ tmux send-keys -t uxbox 'clojure -Adev:repl' 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 install; fi' enter C-l
|
||||
tmux send-keys -t uxbox 'npm run watch' enter
|
||||
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