25 lines
345 B
Bash
Executable file
25 lines
345 B
Bash
Executable file
#!/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
|