summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-11-30 22:12:49 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-11-30 22:12:49 +0000
commitabf784a784c6e9282dbfbe269670da0284556a7d (patch)
treefde86bc0c197e0e57a6061af84e6320e9db1f718 /meson.build
parent13a6ab5d21888428a13d57fa1ce6f6fdd84ddf14 (diff)
downloadgentoo-utils-abf784a784c6e9282dbfbe269670da0284556a7d.tar.gz
add some docs
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 10 insertions, 0 deletions
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