26 lines
345 B
Text
26 lines
345 B
Text
|
#!/bin/bash
|
||
|
|
||
|
function run-android {
|
||
|
echo ""
|
||
|
echo "Running - Android"
|
||
|
echo ""
|
||
|
react-native run-android
|
||
|
}
|
||
|
|
||
|
|
||
|
function run-ios {
|
||
|
echo ""
|
||
|
echo "Running - iOS"
|
||
|
echo ""
|
||
|
open ./ios/BloomingdalesEmojis.xcodeproj
|
||
|
}
|
||
|
|
||
|
|
||
|
if [ "$1" == "android" ]; then
|
||
|
run-android
|
||
|
elif [ "$1" == "ios" ]; then
|
||
|
run-ios
|
||
|
else
|
||
|
echo "No arguments passed."
|
||
|
fi
|