This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added podspec file for when using the new Cocoapods package system
- Loading branch information
1 parent
ecd0f89
commit d9a650b
Showing
3 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
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
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,19 @@ | ||
require 'json' | ||
|
||
package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) | ||
|
||
Pod::Spec.new do |s| | ||
s.name = package['name'] | ||
s.version = package['version'] | ||
s.summary = package['description'] | ||
s.license = package['license'] | ||
|
||
s.authors = package['author'] | ||
s.homepage = package['homepage'] | ||
s.platform = :ios, "8.0" | ||
|
||
s.source = { :git => "https://github.com/IjzerenHein/react-native-magic-move.git" } | ||
s.source_files = "ios/**/*.{h,m}" | ||
|
||
s.dependency 'React' | ||
end |