fastlane 2.74.0 → 2.74.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/server/command_parser.rb +24 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +12 -0
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +2 -0
- data/fastlane_core/lib/.DS_Store +0 -0
- data/fastlane_core/lib/fastlane_core/.DS_Store +0 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a5ac60afa25f9506150a2183d757b025a89ef46
|
4
|
+
data.tar.gz: 531753b83e8e41548f21d718500c7cfb7fa35416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf27686d4198832d92745fc2aab01ff257dc4b15b1d6a41018a006450889674757d333f1c559a6845fcfacb433e55cf55e3652adbe920e20383a7bfefb1d0191
|
7
|
+
data.tar.gz: 6cc2f76c6ac122182ad4ab05a3c5488ef6c814dfbb0989417d4c64955084a52e2e4663f17b7f059f9ba40f9a29db748249f497657d249564f3ad2a8ce1657613
|
@@ -5,7 +5,23 @@ require 'json'
|
|
5
5
|
module Fastlane
|
6
6
|
class CommandParser
|
7
7
|
def self.parse(json: nil)
|
8
|
+
if json.strip == "done"
|
9
|
+
return intercept_old_done_command
|
10
|
+
end
|
11
|
+
|
8
12
|
command_json = JSON.parse(json)
|
13
|
+
command_type_json = command_json['commandType']
|
14
|
+
|
15
|
+
if command_type_json.nil?
|
16
|
+
# Old Swift style (needs upgrade)
|
17
|
+
return handle_old_style_action_command(command_json: command_json)
|
18
|
+
else
|
19
|
+
# New Swift command style
|
20
|
+
return handle_new_style_commands(command_json: command_json)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.handle_new_style_commands(command_json: nil)
|
9
25
|
command_type = command_json['commandType'].to_sym
|
10
26
|
command = command_json['command']
|
11
27
|
|
@@ -16,5 +32,13 @@ module Fastlane
|
|
16
32
|
return ControlCommand.new(json: command)
|
17
33
|
end
|
18
34
|
end
|
35
|
+
|
36
|
+
def self.handle_old_style_action_command(command_json: nil)
|
37
|
+
return ActionCommand.new(json: command_json)
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.intercept_old_done_command
|
41
|
+
return ControlCommand.new(json: '{"command":"done"}')
|
42
|
+
end
|
19
43
|
end
|
20
44
|
end
|
@@ -3067,6 +3067,18 @@ func splunkmint(dsym: String? = nil,
|
|
3067
3067
|
RubyCommand.Argument(name: "proxy_port", value: proxyPort)])
|
3068
3068
|
_ = runner.executeCommand(command)
|
3069
3069
|
}
|
3070
|
+
func spm(command: String = "build",
|
3071
|
+
buildPath: String? = nil,
|
3072
|
+
packagePath: String? = nil,
|
3073
|
+
configuration: String? = nil,
|
3074
|
+
verbose: Bool = false) {
|
3075
|
+
let command = RubyCommand(commandID: "", methodName: "spm", className: nil, args: [RubyCommand.Argument(name: "command", value: command),
|
3076
|
+
RubyCommand.Argument(name: "build_path", value: buildPath),
|
3077
|
+
RubyCommand.Argument(name: "package_path", value: packagePath),
|
3078
|
+
RubyCommand.Argument(name: "configuration", value: configuration),
|
3079
|
+
RubyCommand.Argument(name: "verbose", value: verbose)])
|
3080
|
+
_ = runner.executeCommand(command)
|
3081
|
+
}
|
3070
3082
|
func ssh(username: String,
|
3071
3083
|
password: String? = nil,
|
3072
3084
|
host: String,
|
@@ -19,6 +19,7 @@ protocol SnapshotfileProtocol: class {
|
|
19
19
|
var addVideos: [String]? { get }
|
20
20
|
var buildlogPath: String { get }
|
21
21
|
var clean: Bool { get }
|
22
|
+
var testWithoutBuilding: Bool? { get }
|
22
23
|
var configuration: String? { get }
|
23
24
|
var xcprettyArgs: String? { get }
|
24
25
|
var sdk: String? { get }
|
@@ -52,6 +53,7 @@ extension SnapshotfileProtocol {
|
|
52
53
|
var addVideos: [String]? { return nil }
|
53
54
|
var buildlogPath: String { return "~/Library/Logs/snapshot" }
|
54
55
|
var clean: Bool { return false }
|
56
|
+
var testWithoutBuilding: Bool? { return nil }
|
55
57
|
var configuration: String? { return nil }
|
56
58
|
var xcprettyArgs: String? { return nil }
|
57
59
|
var sdk: String? { return nil }
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.74.
|
4
|
+
version: 2.74.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -1224,8 +1224,10 @@ files:
|
|
1224
1224
|
- fastlane/swift/SocketResponse.swift
|
1225
1225
|
- fastlane/swift/main.swift
|
1226
1226
|
- fastlane_core/README.md
|
1227
|
+
- fastlane_core/lib/.DS_Store
|
1227
1228
|
- fastlane_core/lib/assets/XMLTemplate.xml.erb
|
1228
1229
|
- fastlane_core/lib/fastlane_core.rb
|
1230
|
+
- fastlane_core/lib/fastlane_core/.DS_Store
|
1229
1231
|
- fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
|
1230
1232
|
- fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
|
1231
1233
|
- fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
|