Compare commits
2 Commits
d681220dfb
...
4d5ec665c1
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d5ec665c1 | |||
| 918182cd87 |
7
start.sh
7
start.sh
@ -36,12 +36,9 @@ unset HOST
|
||||
# trap move-back EXIT
|
||||
# fi
|
||||
|
||||
if ! [ -z "$(which yesod)" ]
|
||||
if ! [ -z "$(which stack)" ]
|
||||
then
|
||||
yesod devel --work-dir .stack-work-run -p "$DEV_PORT_HTTP" -q "$DEV_PORT_HTTPS" $@
|
||||
elif ! [ -z "$(which stack)" ]
|
||||
then
|
||||
stack exec -- yesod devel --work-dir .stack-work-run -p "$DEV_PORT_HTTP" -q "$DEV_PORT_HTTPS" $@
|
||||
stack --work-dir .stack-work-run exec -- yesod devel -p "$DEV_PORT_HTTP" -q "$DEV_PORT_HTTPS" $@
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -2,4 +2,4 @@
|
||||
|
||||
echo $$ > /tmp/pidwrapper
|
||||
|
||||
$1
|
||||
exec $1
|
||||
Loading…
Reference in New Issue
Block a user