fastlane-plugin-ionic_integration 0.1.1 → 0.1.2
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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57a557e5ea7f3cab4b60905323f2811ad6de6991
|
4
|
+
data.tar.gz: 463ffcb33cdc364a2c9f890868f18aebedcb32a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adaf8856f64c6eb42de5f05eb298a0532f4c513ecfa006b4838e22d5f570b47dd27d18879e8b52d1f1cff52d7e41a00748f253eae04041ab946a480dc9bb2170
|
7
|
+
data.tar.gz: a408e0762de3d045e293b5d5a668d6006d5b033cced1bd3fce7a05283bf88ac770ae987db221785db73a96e36349accf94d9b291328c5cec3cabd9fad4d9fe22
|
@@ -77,7 +77,7 @@ module Fastlane
|
|
77
77
|
# Ok, let's rock and roll
|
78
78
|
#
|
79
79
|
UI.message "Creating UI Test Group #{scheme_name} for snapshots testing"
|
80
|
-
snap_group = proj.new_group(scheme_name.to_s)
|
80
|
+
snap_group = proj.new_group(scheme_name.to_s, File.absolute_path(config_folder))
|
81
81
|
|
82
82
|
UI.message "Finding Main Target (of the Project)..."
|
83
83
|
main_target = nil
|
@@ -91,11 +91,22 @@ module Fastlane
|
|
91
91
|
main_target || UI.user_error!("Unable to locate Main Target for Ionic App in #{project_name}")
|
92
92
|
|
93
93
|
# Create a product for our ui unit test
|
94
|
-
|
94
|
+
product_ref_name = scheme_name + '.xctest'
|
95
|
+
proj.products_group.files.each do |ref|
|
96
|
+
if ref.path == product_ref_name
|
97
|
+
UI.message "Removing old #{ref.path}"
|
98
|
+
ref.remove_from_project
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# product_ref.nil? || product_ref.remove_from_project
|
103
|
+
|
104
|
+
# product_ref = proj.products_group.new_reference(product_ref_name, :built_products)
|
95
105
|
|
96
106
|
target = Xcodeproj::Project::ProjectHelper.new_target(proj, :ui_test_bundle,
|
97
107
|
scheme_name, :ios, target_os, proj.products_group, :swift)
|
98
108
|
|
109
|
+
product_ref = proj.products_group.find_file_by_path(product_ref_name)
|
99
110
|
target.product_reference = product_ref
|
100
111
|
|
101
112
|
UI.message "Adding Main Target Dependency: " + main_target.to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-ionic_integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Regan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|