forked from Nubescope/react-native-facebook-keyframes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
258 changed files
with
364 additions
and
32,395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# Sample app | ||
demo/ | ||
*.yml | ||
demo/ | ||
*.framework | ||
android/build/ | ||
*.iml | ||
*.class | ||
|
||
Gemfile | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "cocoapods", "~> 1.0" | ||
gem "xcpretty" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
platform :ios, '9.0' | ||
|
||
pod 'keyframes', :git => 'https://github.com/EddyVerbruggen/Keyframes.git', :commit => 'cb645d8722c2e9327c15dd973a2121644288b1c0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/sh | ||
|
||
ios_dir=`pwd`/ios | ||
if [ -d ios_dir ] | ||
then | ||
exit 0 | ||
fi | ||
|
||
podfile="$ios_dir/Podfile" | ||
template=`pwd`/node_modules/react-native-facebook-keyframes/Podfile.template | ||
|
||
echo "Checking Podfile in iOS project ($podfile)" | ||
|
||
if [ -f $podfile ] | ||
then | ||
echo "" | ||
echo "Found an existing Podfile, Do you want to override it? [N/y]" | ||
read generate_env_file | ||
|
||
if [ "$generate_env_file" != "y" ] | ||
then | ||
echo "Add the following pods": | ||
echo "" | ||
echo "" | ||
cat $template | ||
echo "" | ||
echo "" | ||
echo "and run 'pod install' to install RNFacebookKeyframes for iOS" | ||
exit 0 | ||
fi | ||
|
||
rm -f $podfile | ||
rm -f "$podfile.lock" | ||
fi | ||
|
||
echo "Adding Podfile to iOS project" | ||
|
||
cd ios | ||
pod init >/dev/null 2>&1 | ||
cat $template >> $podfile | ||
cd .. | ||
|
||
echo "Installing Pods" | ||
|
||
pod install --project-directory=ios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
echo "Preparing to link react-native-facebook-keyframes for iOS" | ||
|
||
echo "Checking CocoaPods..." | ||
has_cocoapods=`which pod >/dev/null 2>&1` | ||
if [ -z "$has_cocoapods" ] | ||
then | ||
echo "CocoaPods already installed" | ||
else | ||
echo "Installing CocoaPods..." | ||
gem install cocoapods | ||
fi |
Oops, something went wrong.