Migrate dev:readme-preview to dev:readme in standalone script
This commit is contained in:
@@ -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'
|
|
||||||
|
|||||||
Executable
+11
@@ -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
|
||||||
Reference in New Issue
Block a user