mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-28 21:02:04 +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
|
||||
{- stack runghc --verbosity info
|
||||
--package hledger-lib
|
||||
--package hledger
|
||||
--package here
|
||||
{- #!/usr/bin/env stack -}
|
||||
{- stack runghc --
|
||||
--ghc-arg='-main-is _main'
|
||||
--verbosity info
|
||||
--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 #-}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user