From a953ade1ec6b20f829530198370636a6a28e5354 Mon Sep 17 00:00:00 2001
From: David Runge <dvzrv@archlinux.org>
Date: Mon, 13 Jan 2025 20:48:28 +0100
Subject: [PATCH] feat(justfile): Add recipe for running doc tests

Signed-off-by: David Runge <dvzrv@archlinux.org>
---
 justfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/justfile b/justfile
index 26ce34c8..49175c78 100755
--- a/justfile
+++ b/justfile
@@ -260,6 +260,11 @@ test:
         just docs
     fi
 
+# Runs all doc tests
+test-docs:
+    just ensure-command cargo
+    cargo test --doc
+
 # Runs per project end-to-end tests found in a project README.md
 test-readme project:
     #!/usr/bin/env bash
-- 
GitLab