xcodeprojfiler 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 +4 -4
- data/CHANGELOG.md +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +6 -2
- data/lib/xcodeprojfiler.rb +2 -2
- data/lib/xcodeprojfiler/command.rb +7 -1
- data/lib/xcodeprojfiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aa5184947d956ad155ede8dc261aac778c2aaf59b128ed4806ae50e451ebc3d
|
4
|
+
data.tar.gz: 2efd701a38b4db9662839d2daa7fe720c46cea587a8ddf7e93ad47edc25e2976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 241b9c1fa3c2b3e75d590c3e3296277535edf24e2798da3b396c3fbee93bb2a53c461b35dabb0a3248579fd4f028b55eba8de27b321a85f5bf7f2491949e12dd
|
7
|
+
data.tar.gz: 2d8a72a363325c07ced35acea62fc239e0a0538ccfe5986def45fa66e1347fcb260d6576b93233dedb12b2146425df931daa0d5d471f963e0315a3fb2213d99b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
## 0.3.0
|
2
2
|
|
3
|
-
- support to show and delete the library type(`.framework`/`.a`)
|
3
|
+
- support to show and delete the library type file(`.framework`/`.a`) , bundle type file(`.bundle`) , assets type file(`.xcassets`) which are not included in xcworkspace
|
4
4
|
|
5
5
|
|
6
6
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -4,6 +4,10 @@ Xcodeprojfiler is a CLI tooL which can help iOS developer to get the info of fil
|
|
4
4
|
|
5
5
|
For example, Xcodeprojfiler can scan the current xcode project dir and find out the files which are not included in xcworkspace.
|
6
6
|
|
7
|
+
## Feature
|
8
|
+
- Support to show and delete(if you choose) the files which are not included in xcworkspace
|
9
|
+
- Support to show and delete(if you choose) the code files(`C/C++/Objective-C/Objective-C++/Swift/xib/storyboard`) which are not included in xcworkspace
|
10
|
+
- Support to tell xcodeprojfiler to ignore the files which you want with customized regex
|
7
11
|
|
8
12
|
## Install & Update
|
9
13
|
|
@@ -22,10 +26,10 @@ xcodeprojfiler show_excluded_files
|
|
22
26
|
xcodeprojfiler show_excluded_code_files
|
23
27
|
|
24
28
|
# show and delete the code files which not included in xcworkspace, except those in LocalComponent directory
|
25
|
-
xcodeprojfiler show_excluded_code_files --ignores $(pwd)/LocalComponent
|
29
|
+
xcodeprojfiler show_excluded_code_files --ignores "$(pwd)/LocalComponent/**/*" --delete
|
26
30
|
|
27
31
|
# show and delete the code files which not included in xcworkspace, except those in Pods and Fastlane directory
|
28
|
-
xcodeprojfiler show_excluded_code_files --ignores $(pwd)/Pods
|
32
|
+
xcodeprojfiler show_excluded_code_files --ignores "$(pwd)/Pods/**/*" "$(pwd)/Fastlane/**/*" --delete
|
29
33
|
|
30
34
|
# Describe available commands or one specific command
|
31
35
|
xcodeprojfiler help
|
data/lib/xcodeprojfiler.rb
CHANGED
@@ -47,7 +47,7 @@ For example, Xcodeprojfiler can scan the current xcode project dir and find out
|
|
47
47
|
|
48
48
|
# show and delete the files which not included in xcworkspace, except those in Pods and Fastlane directory
|
49
49
|
|
50
|
-
xcodeprojfiler show_excluded_files #{"--ignores".red} $(pwd)/Pods
|
50
|
+
xcodeprojfiler show_excluded_files #{"--ignores".red} "$(pwd)/Pods/**/*" "$(pwd)/Fastlane/**/*" #{"--delete".red}
|
51
51
|
|
52
52
|
LONGDESC
|
53
53
|
option :delete, :type => :boolean, :default => false
|
@@ -71,7 +71,7 @@ For example, Xcodeprojfiler can scan the current xcode project dir and find out
|
|
71
71
|
|
72
72
|
# show and delete the code files which not included in xcworkspace, except those in Pods and Fastlane directory
|
73
73
|
|
74
|
-
xcodeprojfiler show_excluded_files #{"--ignores".red} $(pwd)/Pods
|
74
|
+
xcodeprojfiler show_excluded_files #{"--ignores".red} "$(pwd)/Pods/**/*" "$(pwd)/Fastlane/**/*" #{"--delete".red}
|
75
75
|
|
76
76
|
LONGDESC
|
77
77
|
option :delete, :type => :boolean, :default => false
|
@@ -93,8 +93,14 @@ PS: Xcodeprojfiler do ignore the following files:
|
|
93
93
|
"#{root_dir}/**/*{.git,.xcworkspace,.xcodeproj,.lproj,.xctemplate,.lock,.rb,.py,.sh,.log,.config,.properties}"
|
94
94
|
]
|
95
95
|
all_files = all_files - Dir.glob(excluded_file_regex_array)
|
96
|
+
|
96
97
|
if ignored_regex_array.empty? == false
|
97
|
-
puts("
|
98
|
+
puts("")
|
99
|
+
puts("Xcodeprojfiler will ignore the following files which you specify:")
|
100
|
+
puts("")
|
101
|
+
ignored_regex_array.each do |regex|
|
102
|
+
puts(" - #{regex}")
|
103
|
+
end
|
98
104
|
all_files = all_files - Dir.glob(ignored_regex_array)
|
99
105
|
end
|
100
106
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcodeprojfiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- York
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|