mirror of
https://github.com/status-im/re-natal.git
synced 2025-02-27 19:50:31 +00:00
ensure dependencies are installed on launch
This commit is contained in:
parent
04bfb40ee4
commit
3fba9ff70d
@ -352,6 +352,12 @@ launch = ({name, device}) ->
|
|||||||
log 'Device ID not available, defaulting to iPhone 6s simulator', 'yellow'
|
log 'Device ID not available, defaulting to iPhone 6s simulator', 'yellow'
|
||||||
{device} = generateConfig name
|
{device} = generateConfig name
|
||||||
|
|
||||||
|
try
|
||||||
|
fs.statSync 'native/node_modules'
|
||||||
|
fs.statSync 'native/ios/Pods'
|
||||||
|
catch
|
||||||
|
logErr 'Dependencies are missing. Run natal deps to install them.'
|
||||||
|
|
||||||
log 'Compiling ClojureScript'
|
log 'Compiling ClojureScript'
|
||||||
exec 'lein cljsbuild once dev'
|
exec 'lein cljsbuild once dev'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user