Make run-ios accept the simulator name
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
089717c5e3
commit
125f61b19e
5
Makefile
5
Makefile
|
@ -111,8 +111,13 @@ repl-android: ##@repl Start REPL for Android
|
|||
run-android: ##@run Run Android build
|
||||
react-native run-android --appIdSuffix debug
|
||||
|
||||
SIMULATOR = ""
|
||||
run-ios: ##@run Run iOS build
|
||||
ifneq ("$(SIMULATOR)", "")
|
||||
react-native run-ios --simulator="$(SIMULATOR)"
|
||||
else
|
||||
react-native run-ios
|
||||
endif
|
||||
|
||||
#--------------
|
||||
# Tests
|
||||
|
|
Loading…
Reference in New Issue