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 #1146

Signed-off-by: Nieves Montero <nmontero@redhat.com>
  • Loading branch information
nievesmontero committed Nov 2, 2022
1 parent e40e3e5 commit 0cb9ff3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ endif
go = find_program('go')
go_md2man = find_program('go-md2man')
shellcheck = find_program('shellcheck', required: false)
codespell = find_program('codespell', required: false)
skopeo = find_program('skopeo', required: false)

bashcompletionsdir = get_option('bash_completions_dir')
Expand Down Expand Up @@ -57,6 +58,12 @@ if shellcheck.found()
test('shellcheck toolbox (deprecated)', shellcheck, args: [toolbox_sh])
endif

if codespell.found()
test('codespell toolbox', codespell, args: [meson.current_source_dir() / 'src' ,
meson.current_source_dir() / 'cmd', meson.current_source_dir() / 'profile.d', meson.current_source_dir() / 'doc',
meson.current_source_dir() / 'data'])
endif

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

0 comments on commit 0cb9ff3

Please sign in to comment.