xcodeprojfiler 0.3.0 → 0.4.0

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: 8d9aa4582c4898878c2520753e684851fecacc4639e075ea98d470ce580ca31a
4
- data.tar.gz: c738d05ef9b78ff699a8e5cd6107a7a00a0936e77c22851fc1bfc45cbccf36bb
3
+ metadata.gz: 6aa5184947d956ad155ede8dc261aac778c2aaf59b128ed4806ae50e451ebc3d
4
+ data.tar.gz: 2efd701a38b4db9662839d2daa7fe720c46cea587a8ddf7e93ad47edc25e2976
5
5
  SHA512:
6
- metadata.gz: c755f6f2dc5ebb34f493a6a2183e9c8103d827e298a8820b78006c19d2a22cd71a6ec54a2d1715153a7d7d734aada9230fafd87bcc183f2f23406820d15ecc9e
7
- data.tar.gz: af8bb84e862035c3e7ff137958737f2c93675a863cd2d081aebf4b26963a58611bf363bbb3cc9eee309d0462669c02e1a37172db21352de64d3562acb04501a1
6
+ metadata.gz: 241b9c1fa3c2b3e75d590c3e3296277535edf24e2798da3b396c3fbee93bb2a53c461b35dabb0a3248579fd4f028b55eba8de27b321a85f5bf7f2491949e12dd
7
+ data.tar.gz: 2d8a72a363325c07ced35acea62fc239e0a0538ccfe5986def45fa66e1347fcb260d6576b93233dedb12b2146425df931daa0d5d471f963e0315a3fb2213d99b
@@ -1,6 +1,6 @@
1
1
  ## 0.3.0
2
2
 
3
- - support to show and delete the library type(`.framework`/`.a`) and bundle type(`.bundle`) files which are not included in xcworkspace
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
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xcodeprojfiler (0.3.0)
4
+ xcodeprojfiler (0.4.0)
5
5
  bundler (~> 2.0, >= 2.0.2)
6
6
  thor (~> 1.0, >= 1.0.1)
7
7
  xcodeproj (~> 1.0, >= 1.9.0)
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/\*\*/\* --delete
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/\*\*/\* $(pwd)/Fastlane/\*\*/\* --delete
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
@@ -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/\\*\\*/\\* $(pwd)/Fastlane/\\*\\*/\\* #{"--delete".red}
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/\\*\\*/\\* $(pwd)/Fastlane/\\*\\*/\\* #{"--delete".red}
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("ignored_regex_array: #{ignored_regex_array}")
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
 
@@ -1,3 +1,3 @@
1
1
  module Xcodeprojfiler
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.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 00:00:00.000000000 Z
11
+ date: 2020-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler