Migrate dev:readme-preview to dev:readme in standalone script

This commit is contained in:
Claudio Ortolina
2025-10-07 12:47:55 +03:00
parent 2b5f09ddee
commit ad0ee0f0aa
2 changed files with 11 additions and 4 deletions
-4
View File
@@ -25,7 +25,3 @@ run = 'hurl --test test/prod.hurl'
[tasks.test] [tasks.test]
description = 'Run project tests' description = 'Run project tests'
run = 'mix test' run = 'mix test'
[tasks."dev:readme-preview"]
description = 'Preview the README file via a GH flavoured markdown rendered'
run = 'gh gfm-preview README.md'
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
#MISE description="Render README.md with GitHub Flavored Markdown preview"
set -e
source "$(dirname "$0")/../_helpers.sh"
ensure_working_directory!
gh gfm-preview README.md