mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-29 13:22:27 +03:00
checkdates: disable/document stack script stuff
This commit is contained in:
parent
b4d70731e8
commit
44e3d72926
@ -1,9 +1,15 @@
|
|||||||
#!/usr/bin/env stack
|
{- #!/usr/bin/env stack -}
|
||||||
{- stack runghc --verbosity info
|
{- stack runghc --
|
||||||
--package hledger-lib
|
--ghc-arg='-main-is _main'
|
||||||
--package hledger
|
--verbosity info
|
||||||
--package here
|
--package hledger-lib
|
||||||
|
--package hledger
|
||||||
|
--package here
|
||||||
-}
|
-}
|
||||||
|
-- We could probably still allow running these command modules as scripts, if useful.
|
||||||
|
--import Hledger.Cli.Utils (withJournalDo)
|
||||||
|
--main :: IO ()
|
||||||
|
--main = getHledgerCliOpts checkdatesmode >>= flip withJournalDo checkdates
|
||||||
|
|
||||||
{-# LANGUAGE QuasiQuotes #-}
|
{-# LANGUAGE QuasiQuotes #-}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user