Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
Added podspec file for when using the new Cocoapods package system
Browse files Browse the repository at this point in the history
  • Loading branch information
IjzerenHein committed Jun 17, 2019
1 parent ecd0f89 commit d9a650b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 24 deletions.
24 changes: 0 additions & 24 deletions ios/RNMagicMove.podspec

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"scene-transition"
],
"repository": "https://github.com/IjzerenHein/react-native-magic-move",
"homepage": "https://github.com/IjzerenHein/react-native-magic-move#readme",
"bugs": "https://github.com/IjzerenHein/react-native-magic-move/issues",
"license": "MIT",
"main": "src/index.js",
Expand Down
19 changes: 19 additions & 0 deletions react-native-magic-move.podspec
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

0 comments on commit d9a650b

Please sign in to comment.