Skip to content

Commit 4c15346

Browse files
committed
Integrate codespell on toolbox code
Fixed containers#1146 Signed-off-by: Nieves Montero <[email protected]>
1 parent 8b7511a commit 4c15346

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

meson.build

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if not cc.has_argument('-print-file-name=libc.so')
1313
error('C compiler does not support the -print-file-name argument.')
1414
endif
1515

16+
codespell = find_program('codespell', required: false)
1617
go = find_program('go')
1718
go_md2man = find_program('go-md2man')
1819
shellcheck = find_program('shellcheck', required: false)
@@ -57,6 +58,10 @@ 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: ['--skip', meson.project_build_root(), meson.source_root()])
63+
endif
64+
6065
if not skopeo.found()
6166
message('Running system tests requires Skopeo for OCI image manipulation.')
6267
endif

playbooks/dependencies.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- ShellCheck
77
- bash-completion
88
- bats
9+
- codespell
910
- flatpak-session-helper
1011
- golang
1112
- golang-github-cpuguy83-md2man

0 commit comments

Comments
 (0)