fastlane-plugin-synx 0.1.3 → 0.1.4

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
- SHA1:
3
- metadata.gz: f0cea11be6ebafa1b3869d5f944dfa0a7581127b
4
- data.tar.gz: d78ced915bb95d7be60ac3b9e2f648ddf8eb98e8
2
+ SHA256:
3
+ metadata.gz: '0518b9f37145abc12a06ae5e05816c04c31c5c91b4330297bf98780e9e54b5ea'
4
+ data.tar.gz: 0c9144041e70b94e4b4530d3501645579cd1809e138d18568f0ac9cd3b8ee583
5
5
  SHA512:
6
- metadata.gz: c49ef210951e4cc28b83174354d3ac43f97948935968397e0d47648b7fcd2a8ade7e95cb4dab133d5f2f1af4528971822c75f2bc3be9522a955ead26fcaa7f82
7
- data.tar.gz: b1456a70d9ed54533caa115bbb527d1ba6e8640975a1c13a7ec59f12d05a5c58b0772fc3bebeb778d17aafc918a808779b17827d6044089bef6cd6740d3f11bd
6
+ metadata.gz: e9ac0f38a18a3036b66456d83a0033f63765e5bce5ebffbba6e785faa5551e1715f16bf82fb83555d7c6d5107ef7b29812cb23f456d6dcf7cef9940239c25645
7
+ data.tar.gz: da371f9a07b6fd79e8c5cc23b80bfb943b2ac3f754891f07f6d48bdcb3a5b6138d996284592cf8129511abaa4eb255863ce9b7e519f14326b62a662adec4d905
@@ -6,7 +6,8 @@ module Fastlane
6
6
 
7
7
  Actions.verify_gem!("synx")
8
8
 
9
- project_name = Dir["*.xcodeproj"].first
9
+ project_path = params[:xcodeproj]
10
+ project_path ||= Dir["*.xcodeproj"].first
10
11
  cmd = []
11
12
  cmd << "synx"
12
13
  cmd << "--prune" if params[:prune]
@@ -19,7 +20,7 @@ module Fastlane
19
20
  cmd.concat ["--exclusion", exclusion]
20
21
  end
21
22
  end
22
- cmd << project_name
23
+ cmd << project_path
23
24
  Actions.sh(Shellwords.join(cmd))
24
25
  end
25
26
 
@@ -37,6 +38,12 @@ module Fastlane
37
38
 
38
39
  def self.available_options
39
40
  [
41
+ FastlaneCore::ConfigItem.new(key: :xcodeproj,
42
+ env_name: "FL_SYNX_PROJECT",
43
+ description: "Optional, you must specify the path to your main Xcode project if it is not in the project root directory",
44
+ optional: true,
45
+ is_string: true,
46
+ default_value: nil),
40
47
  FastlaneCore::ConfigItem.new(key: :prune,
41
48
  env_name: "FL_SYNX_PRUNE",
42
49
  description: "Remove source files and image resources that are not referenced by the the xcode project",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Synx
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-synx
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
  - Afonso Graça
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2020-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: synx
@@ -139,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubyforge_project:
143
- rubygems_version: 2.5.1
142
+ rubygems_version: 3.0.3
144
143
  signing_key:
145
144
  specification_version: 4
146
145
  summary: Organise your Xcode project folder to match your Xcode groups.