From 53c08f45b223d9f6288dd52f2c3132d469016bc1 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 27 Mar 2020 17:21:23 -0700 Subject: [PATCH] ;bin: hledger-check-tag-files: consistency --- bin/hledger-check-tag-files.hs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/bin/hledger-check-tag-files.hs b/bin/hledger-check-tag-files.hs index ae7145bc4..7b0d521eb 100755 --- a/bin/hledger-check-tag-files.hs +++ b/bin/hledger-check-tag-files.hs @@ -2,15 +2,18 @@ -- stack script --compile --resolver nightly-2020-03-26 --package hledger-lib --package hledger --package directory --package text -- Add this to see more progress: --verbosity info -- Change --resolver to an already-installed one if you like +{- +hledger-check-tag-files script (stack version) +Read the default journal and give an error if any tag values +containing '/' do not exist as file paths. +Usage: --- Read the default journal and give an error if any tag values --- containing '/' do not exist as file paths. Usage: --- --- $ hledger-check-tag-files.hs # compiles if needed --- --- or: --- --- $ hledger check-tag-files # compiles if there's no compiled version +$ hledger-check-tag-files.hs # compiles every time (?) + +or: + +$ hledger check-tag-files # compiles every time (?) +-} import Control.Monad import qualified Data.Text as T