File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e # Quit script on error
3
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
+
5
+ cd ${SCRIPT_DIR}
6
+
7
+ echo " Booting Sonic Pi on Linux..."
8
+
9
+ TAU_ENABLED=$1 TAU_INTERNAL=$2 TAU_MIDI_ENABLED=$3 TAU_LINK_ENABLED=$4 TAU_IN_PORT=$5 TAU_API_PORT=$6 TAU_SPIDER_PORT=$7 exec _build/" ${MIX_ENV:- dev} " /rel/tau/bin/tau start
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ cd ${SCRIPT_DIR}
6
6
7
7
echo " Booting Sonic Pi on macOS..."
8
8
9
- TAU_ENABLED=$0 TAU_INTERNAL=$1 TAU_MIDI_ENABLED=$2 TAU_LINK_ENABLED=$3 TAU_IN_PORT=$4 TAU_API_PORT=$5 TAU_SPIDER_PORT=$6 _build\ d ev\ r el\ t au\ b in\ t au start
9
+ TAU_ENABLED=$1 TAU_INTERNAL=$2 TAU_MIDI_ENABLED=$3 TAU_LINK_ENABLED=$4 TAU_IN_PORT=$5 TAU_API_PORT=$6 TAU_SPIDER_PORT=$7 exec _build/ " ${MIX_ENV :- dev} " / rel/ tau/ bin/ tau start
Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ set TAU_IN_PORT=%5%
13
13
set TAU_API_PORT = %6 %
14
14
set TAU_SPIDER_PORT = %7 %
15
15
16
- _build\dev\rel\tau\bin\tau start
16
+ IF NOT DEFINED MIX_ENV SET " MIX_ENV = dev"
17
+
18
+ _build\%MIX_ENV% \rel\tau\bin\tau start
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments