From 493591300206c752ac68a68b5a6d8f007768b6b7 Mon Sep 17 00:00:00 2001 From: Stephan Lo Date: Sun, 16 Nov 2025 13:48:12 +0100 Subject: [PATCH] feat(tasks): add test:hugo task for Hugo-only testing - Add test:hugo for fast Hugo-only tests (no LikeC4) - Update technical writer docs with new task --- Taskfile.yml | 7 +++++++ doc/README-technical-writer.md | 12 ++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index e4c5aed..a83b45f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -59,6 +59,13 @@ tasks: - test:html - likec4:validate + test:hugo: + desc: Run Hugo-only tests (markdown, HTML, build) + deps: + - test:build + - test:markdown + - test:html + test:full: desc: Run all tests including link check (may have errors in legacy content) deps: diff --git a/doc/README-technical-writer.md b/doc/README-technical-writer.md index 691251d..bfe248f 100644 --- a/doc/README-technical-writer.md +++ b/doc/README-technical-writer.md @@ -58,8 +58,11 @@ Your content here... ### 4. Test and Commit ```bash -# Run tests -task test:quick +# Run tests (fastest - Hugo only) +task test:hugo + +# Or run full tests (includes LikeC4 validation) +task test # Commit your changes git add . @@ -223,8 +226,9 @@ task --list | `task serve` | Start dev server with hot reload | | `task build` | Build production site | | `task clean` | Remove build artifacts | -| `task test` | Run all tests (build, markdown, HTML, links) | -| `task test:quick` | Run quick tests (build, markdown) | +| `task test` | Run all tests (includes LikeC4) | +| `task test:hugo` | Run Hugo-only tests (fastest) | +| `task test:full` | All tests + link checking | ### LikeC4 Tasks