Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Dorgans committed Mar 31, 2018
1 parent e3fd626 commit a3afe33
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ Carthage/Build
# `pod install` in .travis.yml
#
# Pods/
/Example/RxFirebase.xcworkspace/xcshareddata
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RxFirebase is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'RxFirebase'
pod 'RxFirebase/Firestore'
```

## Usage
Expand Down
21 changes: 11 additions & 10 deletions RxFirebase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'RxFirebase'
s.version = '0.1.0'
s.summary = 'A short description of RxFirebase.'
s.summary = 'RxSwift extensions for Firebase.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
Expand All @@ -18,7 +18,8 @@ Pod::Spec.new do |s|
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
TODO: Add long description of the pod here.
RxSwift extensions for Firebase.
Including for now FirebaseCore
DESC

s.homepage = 'https://github.com/arnauddorgans/RxFirebase'
Expand All @@ -28,20 +29,20 @@ TODO: Add long description of the pod here.
s.source = { :git => 'https://github.com/arnauddorgans/RxFirebase.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

swift_version = 4.1
s.ios.deployment_target = '8.0'
s.default_subspec = 'Core'
s.static_framework = true
s.dependency 'RxSwift', '~> 4'
s.dependency 'RxCocoa', '~> 4'
s.dependency 'FirebaseCore', '~> 4'

s.subspec 'Core' do |core|
core.source_files = 'RxFirebase/Classes/Core/**/*'
end
s.subspec 'Database' do |database|
database.source_files = 'RxFirebase/Classes/Database/**/*'
database.dependency 'FirebaseDatabase', '~> 4'
end
#s.subspec 'Core' do |core|
#core.source_files = 'RxFirebase/Classes/Core/**/*'
#end
#s.subspec 'Database' do |database|
#database.source_files = 'RxFirebase/Classes/Database/**/*'
#database.dependency 'FirebaseDatabase', '~> 4'
#end
s.subspec 'Firestore' do |firestore|
firestore.source_files = 'RxFirebase/Classes/Firestore/**/*'
firestore.dependency 'FirebaseFirestore', '~> 0'
Expand Down
Empty file.

0 comments on commit a3afe33

Please sign in to comment.