Skip to content

Commit

Permalink
Integrate codespell on toolbox code
Browse files Browse the repository at this point in the history
Fixed #1146

Signed-off-by: Nieves Montero <[email protected]>
  • Loading branch information
nievesmontero committed Nov 18, 2022
1 parent 8b7511a commit 4c15346
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if not cc.has_argument('-print-file-name=libc.so')
error('C compiler does not support the -print-file-name argument.')
endif

codespell = find_program('codespell', required: false)
go = find_program('go')
go_md2man = find_program('go-md2man')
shellcheck = find_program('shellcheck', required: false)
Expand Down Expand Up @@ -57,6 +58,10 @@ if shellcheck.found()
test('shellcheck toolbox (deprecated)', shellcheck, args: [toolbox_sh])
endif

if codespell.found()
test('codespell toolbox', codespell, args: ['--skip', meson.project_build_root(), meson.source_root()])
endif

if not skopeo.found()
message('Running system tests requires Skopeo for OCI image manipulation.')
endif
Expand Down
1 change: 1 addition & 0 deletions playbooks/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- ShellCheck
- bash-completion
- bats
- codespell
- flatpak-session-helper
- golang
- golang-github-cpuguy83-md2man
Expand Down

0 comments on commit 4c15346

Please sign in to comment.