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 |
| 6 | web-ext lint --no-input --boring \ |
| 7 | {{ '--source-dir=' + source_dir if source_dir else '' }} \ |
| 8 | {{ extra_lint_flags }} | tee -a web-ext-lint.txt |
avm99963 | 4bfb4ad | 2021-02-11 19:17:49 +0100 | [diff] [blame] | 9 | chdir: "{{ zuul.project.src_dir }}" |
avm99963 | 4242603 | 2021-02-17 15:18:51 +0100 | [diff] [blame] | 10 | executable: /bin/bash |
| 11 | changed_when: false |