-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathFastfile
More file actions
45 lines (39 loc) · 1012 Bytes
/
Fastfile
File metadata and controls
45 lines (39 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Lane to run the unit tests"
lane :unit_tests do
run_tests(scheme: "OSInAppBrowserLib",
slack_url: ENV['SLACK_WEBHOOK'])
end
desc "Code coverage"
lane :coverage do
slather(
scheme: "OSInAppBrowserLib",
proj: "OSInAppBrowserLib.xcodeproj",
output_directory: "sonar-reports",
sonarqube_xml: "true"
)
end
lane :lint do
swiftlint(
output_file: "sonar-reports/OSInAppBrowserLib-swiftlint.txt",
ignore_exit_status: true
)
end
lane :sonarqube do
sonar
end
end