Skip to content

Commit

Permalink
Move Podspec to the root (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Jul 5, 2022
1 parent 409310b commit 86f5eb7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
19 changes: 19 additions & 0 deletions A0Auth0.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 = 'A0Auth0'
s.version = package['version']
s.summary = package['description']
s.homepage = package['repository']['baseUrl']
s.license = package['license']
s.authors = package['author']
s.platforms = { :ios => '9.0' }
s.source = { :git => 'https://github.com/auth0/react-native-auth0.git', :tag => "v#{s.version}" }

s.source_files = ['ios/A0Auth0.h', 'ios/A0Auth0.m']
s.requires_arc = true

s.dependency 'React-Core'
end
20 changes: 0 additions & 20 deletions ios/A0Auth0.podspec

This file was deleted.

0 comments on commit 86f5eb7

Please sign in to comment.