Skip to content

Commit 1521a97

Browse files
committed
Add Fastlane
Fix Rubocop Issue
1 parent 51efb4b commit 1521a97

File tree

4 files changed

+211
-0
lines changed

4 files changed

+211
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Pods/
6161
# For more information about the recommended setup visit:
6262
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
6363

64+
fastlane/README.md
6465
fastlane/report.xml
6566
fastlane/Preview.html
6667
fastlane/screenshots

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
source 'https://rubygems.org'
44

55
gem 'cocoapods', '~> 1.8.0'
6+
gem 'fastlane', '~> 2.189'
67
gem 'rubocop', '~> 1.18'

Gemfile.lock

+188
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,31 @@ GEM
88
minitest (~> 5.1)
99
thread_safe (~> 0.3, >= 0.3.4)
1010
tzinfo (~> 1.1)
11+
addressable (2.8.0)
12+
public_suffix (>= 2.0.2, < 5.0)
1113
algoliasearch (1.27.5)
1214
httpclient (~> 2.8, >= 2.8.3)
1315
json (>= 1.5.1)
16+
artifactory (3.0.15)
1417
ast (2.4.2)
1518
atomos (0.1.3)
19+
aws-eventstream (1.2.0)
20+
aws-partitions (1.552.0)
21+
aws-sdk-core (3.126.0)
22+
aws-eventstream (~> 1, >= 1.0.2)
23+
aws-partitions (~> 1, >= 1.525.0)
24+
aws-sigv4 (~> 1.1)
25+
jmespath (~> 1.0)
26+
aws-sdk-kms (1.54.0)
27+
aws-sdk-core (~> 3, >= 3.126.0)
28+
aws-sigv4 (~> 1.1)
29+
aws-sdk-s3 (1.112.0)
30+
aws-sdk-core (~> 3, >= 3.126.0)
31+
aws-sdk-kms (~> 1)
32+
aws-sigv4 (~> 1.4)
33+
aws-sigv4 (1.4.0)
34+
aws-eventstream (~> 1, >= 1.0.2)
35+
babosa (1.0.4)
1636
claide (1.1.0)
1737
cocoapods (1.8.4)
1838
activesupport (>= 4.0.2, < 5)
@@ -49,27 +69,166 @@ GEM
4969
nap (>= 0.8, < 2.0)
5070
netrc (~> 0.11)
5171
cocoapods-try (1.2.0)
72+
colored (1.2)
5273
colored2 (3.1.2)
74+
commander (4.6.0)
75+
highline (~> 2.0.0)
5376
concurrent-ruby (1.1.9)
77+
declarative (0.0.20)
78+
digest-crc (0.6.4)
79+
rake (>= 12.0.0, < 14.0.0)
80+
domain_name (0.5.20190701)
81+
unf (>= 0.0.5, < 1.0.0)
82+
dotenv (2.7.6)
83+
emoji_regex (3.2.3)
5484
escape (0.0.4)
85+
excon (0.91.0)
86+
faraday (1.9.3)
87+
faraday-em_http (~> 1.0)
88+
faraday-em_synchrony (~> 1.0)
89+
faraday-excon (~> 1.1)
90+
faraday-httpclient (~> 1.0)
91+
faraday-multipart (~> 1.0)
92+
faraday-net_http (~> 1.0)
93+
faraday-net_http_persistent (~> 1.0)
94+
faraday-patron (~> 1.0)
95+
faraday-rack (~> 1.0)
96+
faraday-retry (~> 1.0)
97+
ruby2_keywords (>= 0.0.4)
98+
faraday-cookie_jar (0.0.7)
99+
faraday (>= 0.8.0)
100+
http-cookie (~> 1.0.0)
101+
faraday-em_http (1.0.0)
102+
faraday-em_synchrony (1.0.0)
103+
faraday-excon (1.1.0)
104+
faraday-httpclient (1.0.1)
105+
faraday-multipart (1.0.3)
106+
multipart-post (>= 1.2, < 3)
107+
faraday-net_http (1.0.1)
108+
faraday-net_http_persistent (1.2.0)
109+
faraday-patron (1.0.0)
110+
faraday-rack (1.0.0)
111+
faraday-retry (1.0.3)
112+
faraday_middleware (1.2.0)
113+
faraday (~> 1.0)
114+
fastimage (2.2.6)
115+
fastlane (2.204.2)
116+
CFPropertyList (>= 2.3, < 4.0.0)
117+
addressable (>= 2.8, < 3.0.0)
118+
artifactory (~> 3.0)
119+
aws-sdk-s3 (~> 1.0)
120+
babosa (>= 1.0.3, < 2.0.0)
121+
bundler (>= 1.12.0, < 3.0.0)
122+
colored
123+
commander (~> 4.6)
124+
dotenv (>= 2.1.1, < 3.0.0)
125+
emoji_regex (>= 0.1, < 4.0)
126+
excon (>= 0.71.0, < 1.0.0)
127+
faraday (~> 1.0)
128+
faraday-cookie_jar (~> 0.0.6)
129+
faraday_middleware (~> 1.0)
130+
fastimage (>= 2.1.0, < 3.0.0)
131+
gh_inspector (>= 1.1.2, < 2.0.0)
132+
google-apis-androidpublisher_v3 (~> 0.3)
133+
google-apis-playcustomapp_v1 (~> 0.1)
134+
google-cloud-storage (~> 1.31)
135+
highline (~> 2.0)
136+
json (< 3.0.0)
137+
jwt (>= 2.1.0, < 3)
138+
mini_magick (>= 4.9.4, < 5.0.0)
139+
multipart-post (~> 2.0.0)
140+
naturally (~> 2.2)
141+
optparse (~> 0.1.1)
142+
plist (>= 3.1.0, < 4.0.0)
143+
rubyzip (>= 2.0.0, < 3.0.0)
144+
security (= 0.1.3)
145+
simctl (~> 1.6.3)
146+
terminal-notifier (>= 2.0.0, < 3.0.0)
147+
terminal-table (>= 1.4.5, < 2.0.0)
148+
tty-screen (>= 0.6.3, < 1.0.0)
149+
tty-spinner (>= 0.8.0, < 1.0.0)
150+
word_wrap (~> 1.0.0)
151+
xcodeproj (>= 1.13.0, < 2.0.0)
152+
xcpretty (~> 0.3.0)
153+
xcpretty-travis-formatter (>= 0.0.3)
55154
fourflusher (2.3.1)
56155
fuzzy_match (2.0.4)
57156
gh_inspector (1.1.3)
157+
google-apis-androidpublisher_v3 (0.16.0)
158+
google-apis-core (>= 0.4, < 2.a)
159+
google-apis-core (0.4.2)
160+
addressable (~> 2.5, >= 2.5.1)
161+
googleauth (>= 0.16.2, < 2.a)
162+
httpclient (>= 2.8.1, < 3.a)
163+
mini_mime (~> 1.0)
164+
representable (~> 3.0)
165+
retriable (>= 2.0, < 4.a)
166+
rexml
167+
webrick
168+
google-apis-iamcredentials_v1 (0.10.0)
169+
google-apis-core (>= 0.4, < 2.a)
170+
google-apis-playcustomapp_v1 (0.7.0)
171+
google-apis-core (>= 0.4, < 2.a)
172+
google-apis-storage_v1 (0.11.0)
173+
google-apis-core (>= 0.4, < 2.a)
174+
google-cloud-core (1.6.0)
175+
google-cloud-env (~> 1.0)
176+
google-cloud-errors (~> 1.0)
177+
google-cloud-env (1.5.0)
178+
faraday (>= 0.17.3, < 2.0)
179+
google-cloud-errors (1.2.0)
180+
google-cloud-storage (1.36.0)
181+
addressable (~> 2.8)
182+
digest-crc (~> 0.4)
183+
google-apis-iamcredentials_v1 (~> 0.1)
184+
google-apis-storage_v1 (~> 0.1)
185+
google-cloud-core (~> 1.6)
186+
googleauth (>= 0.16.2, < 2.a)
187+
mini_mime (~> 1.0)
188+
googleauth (1.1.0)
189+
faraday (>= 0.17.3, < 2.0)
190+
jwt (>= 1.4, < 3.0)
191+
memoist (~> 0.16)
192+
multi_json (~> 1.11)
193+
os (>= 0.9, < 2.0)
194+
signet (>= 0.16, < 2.a)
195+
highline (2.0.3)
196+
http-cookie (1.0.4)
197+
domain_name (~> 0.5)
58198
httpclient (2.8.3)
59199
i18n (0.9.5)
60200
concurrent-ruby (~> 1.0)
201+
jmespath (1.5.0)
61202
json (2.6.1)
203+
jwt (2.3.0)
204+
memoist (0.16.2)
205+
mini_magick (4.11.0)
206+
mini_mime (1.1.2)
62207
minitest (5.15.0)
63208
molinillo (0.6.6)
209+
multi_json (1.15.0)
210+
multipart-post (2.0.0)
64211
nanaimo (0.3.0)
65212
nap (1.1.0)
213+
naturally (2.2.1)
66214
netrc (0.11.0)
215+
optparse (0.1.1)
216+
os (1.1.4)
67217
parallel (1.21.0)
68218
parser (3.1.0.0)
69219
ast (~> 2.4.1)
220+
plist (3.6.0)
221+
public_suffix (4.0.6)
70222
rainbow (3.1.1)
223+
rake (13.0.6)
71224
regexp_parser (2.2.0)
225+
representable (3.1.1)
226+
declarative (< 0.1.0)
227+
trailblazer-option (>= 0.1.1, < 0.2.0)
228+
uber (< 0.2.0)
229+
retriable (3.1.2)
72230
rexml (3.2.5)
231+
rouge (2.0.7)
73232
rubocop (1.25.1)
74233
parallel (~> 1.10)
75234
parser (>= 3.1.0.0)
@@ -83,23 +242,52 @@ GEM
83242
parser (>= 3.0.1.1)
84243
ruby-macho (1.4.0)
85244
ruby-progressbar (1.11.0)
245+
ruby2_keywords (0.0.5)
246+
rubyzip (2.3.2)
247+
security (0.1.3)
248+
signet (0.16.0)
249+
addressable (~> 2.8)
250+
faraday (>= 0.17.3, < 2.0)
251+
jwt (>= 1.5, < 3.0)
252+
multi_json (~> 1.10)
253+
simctl (1.6.8)
254+
CFPropertyList
255+
naturally
256+
terminal-notifier (2.0.0)
257+
terminal-table (1.6.0)
86258
thread_safe (0.3.6)
259+
trailblazer-option (0.1.2)
260+
tty-cursor (0.7.1)
261+
tty-screen (0.8.1)
262+
tty-spinner (0.9.3)
263+
tty-cursor (~> 0.7)
87264
tzinfo (1.2.9)
88265
thread_safe (~> 0.1)
266+
uber (0.1.0)
267+
unf (0.1.4)
268+
unf_ext
269+
unf_ext (0.0.8)
89270
unicode-display_width (2.1.0)
271+
webrick (1.7.0)
272+
word_wrap (1.0.0)
90273
xcodeproj (1.21.0)
91274
CFPropertyList (>= 2.3.3, < 4.0)
92275
atomos (~> 0.1.3)
93276
claide (>= 1.0.2, < 2.0)
94277
colored2 (~> 3.1)
95278
nanaimo (~> 0.3.0)
96279
rexml (~> 3.2.4)
280+
xcpretty (0.3.0)
281+
rouge (~> 2.0.7)
282+
xcpretty-travis-formatter (1.0.1)
283+
xcpretty (~> 0.2, >= 0.0.7)
97284

98285
PLATFORMS
99286
ruby
100287

101288
DEPENDENCIES
102289
cocoapods (~> 1.8.0)
290+
fastlane (~> 2.189)
103291
rubocop (~> 1.18)
104292

105293
BUNDLED WITH

fastlane/Fastfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# frozen_string_literal: true
2+
3+
default_platform(:ios)
4+
5+
IOS_VERSION = '15.0'
6+
TEST_DEVICES = ['iPhone 11'].freeze
7+
8+
platform :ios do
9+
desc 'Builds the project and runs tests'
10+
lane :test do
11+
run_tests(
12+
workspace: 'Aztec.xcworkspace',
13+
scheme: 'Aztec',
14+
devices: TEST_DEVICES,
15+
deployment_target_version: IOS_VERSION,
16+
prelaunch_simulator: true,
17+
buildlog_path: File.join(__dir__, '.build', 'logs'),
18+
derived_data_path: File.join(__dir__, '.build', 'derived-data')
19+
)
20+
end
21+
end

0 commit comments

Comments
 (0)