This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Sphere/scripts/run

26 lines
345 B
Text
Raw Permalink Normal View History

2016-01-31 21:52:24 +00:00
#!/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