forked from kimdv/bitrise-step-swiftlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep.yml
96 lines (86 loc) · 2.13 KB
/
step.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
title: |-
Swiftlint
summary: |
Runs Swiftlint on the project
description: |
Runs Swiftlint on the project to provide clean code
For more information about Swiftlint please visit: https://github.com/realm/SwiftLint/
website: https://github.com/kimdv/bitrise-step-swiftlint
source_code_url: https://github.com/kimdv/bitrise-step-swiftlint
support_url: https://github.com/kimdv/bitrise-step-swiftlint/issues
host_os_tags:
- osx-10.10
- ubuntu-16.04
project_type_tags:
- ios
- macos
type_tags:
- utility
is_requires_admin_user: true
is_always_run: false
is_skippable: false
run_if: ""
deps:
brew:
- name: swiftlint
toolkit:
bash:
entry_file: step.sh
inputs:
- linting_path: $BITRISE_SOURCE_DIR
opts:
category: Config
title: "Select the path where Swiftlint should lint"
summary: ""
description: ""
is_required: true
- lint_config_file: $BITRISE_SOURCE_DIR/.swiftlint.yml
opts:
category: Config
title: "Linting configuration file"
summary: ""
description: |-
If you use a custom linting configuration for Bitrise, you can specify the path here.
is_required: false
- reporter: xcode
opts:
category: Config
description: |-
Sets the reporter style when printing violations or errors.
summary: ""
title: Select method for export
value_options:
- xcode
- json
- csv
- checkstyle
- junit
- html
- emoji
- sonarqube
- markdown
- reporter_path: $BITRISE_DEPLOY_DIR
opts:
category: Config
title: "Output directory path"
summary: ""
description: |-
This directory will contain the generated output.
is_required: true
- strict: "no"
opts:
category: Config
description: |-
Use strict mode when linting (i.e. warnings become errors)
is_required: false
summary: ""
title: Use strict mode
value_options:
- "yes"
- "no"
outputs:
- SWIFTLINT_REPORT_FILE:
opts:
title: Report file
description: |
Path to a file that contains all found violations.