avm99963 | 4bfb4ad | 2021-02-11 19:17:49 +0100 | [diff] [blame] | 1 | - name: Run the web-ext linter |
| 2 | shell: |
avm99963 | 4242603 | 2021-02-17 15:18:51 +0100 | [diff] [blame] | 3 | cmd: | |
| 4 | set -o pipefail |
| 5 | set -e |
Adrià Vilanova MartÃnez | 5d353c0 | 2024-05-04 01:34:32 +0200 | [diff] [blame] | 6 | {{ 'web-ext' if use_standalone_web_ext else web_ext_command }} \ |
| 7 | lint --no-input --boring \ |
avm99963 | 4242603 | 2021-02-17 15:18:51 +0100 | [diff] [blame] | 8 | {{ '--source-dir=' + source_dir if source_dir else '' }} \ |
| 9 | {{ extra_lint_flags }} | tee -a web-ext-lint.txt |
avm99963 | 4bfb4ad | 2021-02-11 19:17:49 +0100 | [diff] [blame] | 10 | chdir: "{{ zuul.project.src_dir }}" |
avm99963 | 4242603 | 2021-02-17 15:18:51 +0100 | [diff] [blame] | 11 | executable: /bin/bash |
| 12 | changed_when: false |