From abf784a784c6e9282dbfbe269670da0284556a7d Mon Sep 17 00:00:00 2001 From: John Turner Date: Sun, 30 Nov 2025 22:12:49 +0000 Subject: add some docs --- meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 9e353d5..8e712dd 100644 --- a/meson.build +++ b/meson.build @@ -28,3 +28,13 @@ endif if get_option('fuzz').enabled() subdir('fuzz') endif + +if get_option('docs').enabled() + rust.doctest( + 'doctests', + gentoo_utils, + dependencies: [mon, get, itertools], + link_with: [thiserror], + args: ['--nocapture'], + ) +endif -- cgit v1.2.3