pod-target 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97308de3fd3333a54481539d7ef0acb5d696510930890c55c28ff221c2c69280
4
- data.tar.gz: 1f1c1c2823d1ecda9517fc853b1e463600efb41170d4d4b337a052c0937aff95
3
+ metadata.gz: d378970b8c69efce407839761a2a2ad1dd040d589ff8ea3d99f48b1438622b33
4
+ data.tar.gz: 6829d6545d9abee310c4e19bc372b8b1705461fdc5ace80cd0a30d77024fedba
5
5
  SHA512:
6
- metadata.gz: 423cd6f323ca5d14d693a567c211e8a7748ba82352cad03c84e4453affd8805c9fbfcc50ace5913b11f933760d7054f54f957c4eab40bb3499e37df746f1cd80
7
- data.tar.gz: 03d9fb63f9b614a709e9251f9ad34ac0c25388e513ac53a9796eab929c27e16b1a1afd0e25db846cb00bd59b73b117cd8844238cbaf33b901c226d4faaa1f825
6
+ metadata.gz: c7c67354e42710720bad40df8a74365630de3c590d69badcb83d92121a00cfbee6630168081af83a71fa6a2e20143c6bf622e7c59e3179a35d0f71666df660da
7
+ data.tar.gz: c3bb3467730172254d06ee67ba6b124d61ab335c37481b075f76194920431930ff5e2a61ac56d21cd695cbd274db7bd5a4bb3d8217794165dfa62d122bb76af0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pod-target (0.1.3)
4
+ pod-target (0.1.4)
5
5
  thor
6
6
  xcodeproj (~> 1.7)
7
7
 
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Find dependencies between targets in your pod project, and output the csv file which shows dependencies that can be removed from podspec of the target.
4
4
 
5
+ X->Y means X depends on Y
6
+ ![Example image](./images/image.png)
7
+ Like the image above, we have: A->B->C and A->C. We will output the file csv named "remove_dependency.csv" to show the targets that can be removed from A. For this example, it will be like this:
8
+ A,C. The first column is the target, and the following targets are targets can be removed.
5
9
  ## Installation
6
10
 
7
11
  Add this line to your application's Gemfile:
@@ -19,9 +23,16 @@ Or install it yourself as:
19
23
  $ gem install pod-target
20
24
 
21
25
  ## Usage
26
+ pod-target resolve-dependency
22
27
 
23
- TODO: Write usage instructions here
28
+ Options:\
29
+ [--workspace=WORKSPACE] # Set workspace path, if not set will use current directory\
30
+ \
31
+ [--output=OUTPUT] # Set output path of csv file, if not set will use current directory\
32
+ \
33
+ [--filter=expression] # If set, filter targets which name matches the regular expression\
24
34
 
35
+ Workspace path and output path can be absolute path or relative path
25
36
  ## Development
26
37
 
27
38
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
data/images/image.png ADDED
Binary file
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  module Target
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pod-target
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bao Do
@@ -65,6 +65,7 @@ files:
65
65
  - bin/console
66
66
  - bin/setup
67
67
  - exe/pod-target
68
+ - images/image.png
68
69
  - lib/pod/target.rb
69
70
  - lib/pod/target/cli.rb
70
71
  - lib/pod/target/command.rb