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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -1
- data/images/image.png +0 -0
- data/lib/pod/target/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d378970b8c69efce407839761a2a2ad1dd040d589ff8ea3d99f48b1438622b33
|
4
|
+
data.tar.gz: 6829d6545d9abee310c4e19bc372b8b1705461fdc5ace80cd0a30d77024fedba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c67354e42710720bad40df8a74365630de3c590d69badcb83d92121a00cfbee6630168081af83a71fa6a2e20143c6bf622e7c59e3179a35d0f71666df660da
|
7
|
+
data.tar.gz: c3bb3467730172254d06ee67ba6b124d61ab335c37481b075f76194920431930ff5e2a61ac56d21cd695cbd274db7bd5a4bb3d8217794165dfa62d122bb76af0
|
data/Gemfile.lock
CHANGED
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
|
+

|
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
|
-
|
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
|
data/lib/pod/target/version.rb
CHANGED
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.
|
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
|