fastlane-plugin-maestro 0.0.1 → 0.0.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 061b045598d739bc45bc8933947f7344679b237ef1a0349aa015ebec8e837763
|
|
4
|
+
data.tar.gz: eede20f77a8fabd4100127b154906fba759de7b5baa2a8f1ed16d085a6dbedd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f79fa1dd6e66918ab0d565809a4b5b7acd126594553ae5b4bbc1749213212c9ab09b429fc30ec77aa39d969cd9a64e63806b9a1f6a18f2ca2c2dad3c0037ffc
|
|
7
|
+
data.tar.gz: a03b081c04989ddbba1568bc6e71a71b2085e0d82f70cc5fb0735268cfb0ce8597b293ff2f6e2aa02158f3facb0f557f5ee6f1a34bace4f71aca5c8cc2bd5b63
|
|
@@ -27,7 +27,8 @@ module Fastlane
|
|
|
27
27
|
|
|
28
28
|
def self.check_ios_dependencies!
|
|
29
29
|
UI.message("Making sure you installed the dependencies to run Maestro…")
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
return if Maestro::Runner.command?("idb_companion")
|
|
31
32
|
|
|
32
33
|
UI.error("You have to install idb companion to use `maestro` with iOS simulators")
|
|
33
34
|
UI.error("")
|
|
@@ -37,7 +38,7 @@ module Fastlane
|
|
|
37
38
|
|
|
38
39
|
UI.error("If you don't have homebrew, visit https://github.com/facebook/idb")
|
|
39
40
|
|
|
40
|
-
UI.user_error!("
|
|
41
|
+
UI.user_error!("Please install idb companion and start your lane again.")
|
|
41
42
|
end
|
|
42
43
|
|
|
43
44
|
def self.description
|
|
@@ -29,8 +29,10 @@ module Fastlane
|
|
|
29
29
|
command.push("#{options[:tests]}")
|
|
30
30
|
command_string = command.join(" ")
|
|
31
31
|
UI.message("Running command: #{command_string}")
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
Dir.chdir(ENV["PWD"]) do
|
|
33
|
+
# TODO: set exception based on parameter `failRun`
|
|
34
|
+
system(command_string, out: $stdout, err: :out, exception: true)
|
|
35
|
+
end
|
|
34
36
|
end
|
|
35
37
|
|
|
36
38
|
def self.install
|
|
@@ -39,7 +41,14 @@ module Fastlane
|
|
|
39
41
|
|
|
40
42
|
def self.download_samples
|
|
41
43
|
maestro_path = ENV["HOME"] + "/.maestro/bin/maestro"
|
|
42
|
-
|
|
44
|
+
Dir.chdir(ENV["PWD"]) do
|
|
45
|
+
system("#{maestro_path} download-samples", out: $stdout, err: :out, exception: true)
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def self.command?(name)
|
|
50
|
+
`which #{name}`
|
|
51
|
+
$?.success?
|
|
43
52
|
end
|
|
44
53
|
end
|
|
45
54
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-maestro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marc Bormeth
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|