Skip to content

Commit

Permalink
Integrate codespell on toolbox code
Browse files Browse the repository at this point in the history
Codespell has been added to the meson.build file and has been tested.
Fixed containers#1146

Signed-off-by: Nieves Montero <[email protected]>
  • Loading branch information
nievesmontero committed Nov 17, 2022
1 parent e40e3e5 commit 8619e56
Showing 1 changed file with 5 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.build_root(), meson.source_root()])
endif

if not skopeo.found()
message('Running system tests requires Skopeo for OCI image manipulation.')
endif
Expand Down

0 comments on commit 8619e56

Please sign in to comment.