Skip to content

Commit 0cb9ff3

Browse files
committed
Integrate codespell on toolbox code
Codespell has been added to the meson.build file and has been tested. Fixed containers#1146 Signed-off-by: Nieves Montero <[email protected]>
1 parent e40e3e5 commit 0cb9ff3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

meson.build

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ endif
1616
go = find_program('go')
1717
go_md2man = find_program('go-md2man')
1818
shellcheck = find_program('shellcheck', required: false)
19+
codespell = find_program('codespell', required: false)
1920
skopeo = find_program('skopeo', required: false)
2021

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

61+
if codespell.found()
62+
test('codespell toolbox', codespell, args: [meson.current_source_dir() / 'src' ,
63+
meson.current_source_dir() / 'cmd', meson.current_source_dir() / 'profile.d', meson.current_source_dir() / 'doc',
64+
meson.current_source_dir() / 'data'])
65+
endif
66+
6067
if not skopeo.found()
6168
message('Running system tests requires Skopeo for OCI image manipulation.')
6269
endif

0 commit comments

Comments
 (0)