CarthagePods 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0896d8fbff444b75131c48371daf39068ed8d9d4'
4
- data.tar.gz: 2a724202c316f9513b8558100a1b3096a1c24c2d
3
+ metadata.gz: 74f916b29edbcf3e064ccda1c8d441f60971fcf9
4
+ data.tar.gz: f88170a3d874a9ab9aec74a61538d9e1ab229b2d
5
5
  SHA512:
6
- metadata.gz: 0bcf08c21c6817d94a590ae2f011c74f4bc23e50defb4bd5fece6f5a443ff30831889585bb61ed7efab4e3857f34f75fc6be8ba73f40ff40e744bedeea596240
7
- data.tar.gz: 5720318594bc4fee99252cf415830e6901805b55a318cd45accb6894ea701e8b30aea4961fd36c5df98a5e246ed5177229e13cf02bdd1b24f7e9976ba4c75a00
6
+ metadata.gz: aefd0a0bfe6ac77ded9824425248cb7c1de9509d7643317b36546b0c18a4f5b40dacce1a5812a5e4d92b0c13664b7d3317ce1adbd1383ca4a8f2d9a07ff310f8
7
+ data.tar.gz: 5e0b7d101442826db576aaa2d6df43938684e461995777cc4af7a0dd5685d1a3ff4883622a0af743668d93a79da9d8016c02250c227cb32d6e3207957c99c212
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CarthagePods
2
2
 
3
- The Cocoa dependency manager. use [CocoaPods](https://github.com/CocoaPods/CocoaPods) and [Carthage](https://github.com/Carthage/Carthage)
3
+ The Cocoa dependency manager. The Use of [CocoaPods](https://github.com/CocoaPods/CocoaPods) and [Carthage](https://github.com/Carthage/Carthage) dependency manager on together.
4
4
 
5
5
  ## Installation
6
6
 
@@ -22,7 +22,18 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+
26
+ * Run `carthagePods init` in your project directory. Your project directory in generate `Podfile`,`Cartfile`,`CPodfile` .
27
+ * If you want to use `CocoaPods` manager dependencies between libraries . You can edit `Podfile` add your dependencies. [Detailed see](https://guides.cocoapods.org/using/using-cocoapods.html).
28
+ * If you want to use `Carthage` manager dependencies and compile framework. You can edit `Cartfile` add your dependencies. [Detailed see](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).
29
+ * `CarthagePods` `Carthage` compile framework will be packaged into a `pod lib`. `CPodfile` provides a method of filtering framework.
30
+
31
+ ```
32
+ filterFramework ['RxTest.framework', 'RxBlocking.framework']
33
+ ```
34
+
35
+ * Run `carthagePods install` in your project directory.
36
+ * Open `App.xcworkspace` and build.
26
37
 
27
38
  ## Development
28
39
 
@@ -1,3 +1,3 @@
1
1
  module CarthagePods
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -1,4 +1,4 @@
1
-
1
+ require 'pastel'
2
2
  class DependencyCheck
3
3
 
4
4
  def self.carthage?
@@ -29,15 +29,13 @@ class DependencyCheck
29
29
  def self.checkEnv
30
30
 
31
31
  if !DependencyCheck.carthage?
32
-
33
- puts "Please install the Carhage. Uset commend \'sudo brew install carthage\'"
34
-
32
+ pastel = Pastel.new
33
+ puts pastel.red('[Error] Please install the Carhage. Use commend') + pastel.green(" [sudo] brew install carthage")
35
34
  end
36
35
 
37
36
  if !DependencyCheck.cocoapods?
38
-
39
- puts "Please install the Carhage. Uset commend \'sudo brew install carthage\'"
40
-
37
+ pastel = Pastel.new
38
+ puts pastel.red('[Error] Please install the Cocoapods. Use commend') + pastel.green(" [sudo] gem install cocoapods")
41
39
  end
42
40
 
43
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CarthagePods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sim