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

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