;bin: consistent use of stack script, package updates

This commit is contained in:
Simon Michael 2020-08-15 09:51:59 -07:00
parent 431a502a0a
commit 4747e2eacf
6 changed files with 23 additions and 22 deletions

View File

@ -1,10 +1,9 @@
#!/usr/bin/env stack #!/usr/bin/env stack
{- stack runghc --verbosity info {- stack script --compile --resolver lts-16.3
--package hledger-lib
--package hledger --package hledger
-} -}
{-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-} -- {-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-}
{-| Construct two balance reports for two different time periods and use one of the as "budget" for {-| Construct two balance reports for two different time periods and use one of the as "budget" for
the other, thus comparing them the other, thus comparing them

View File

@ -1,9 +1,11 @@
#!/usr/bin/env stack #!/usr/bin/env stack
-- stack script --compile --resolver nightly-2020-03-26 --package hledger-lib --package hledger --package directory --package text {- stack script --compile --resolver lts-16.3
-- Add this to see more progress: --verbosity info --package hledger
-- Change --resolver to an already-installed one if you like --package directory
--package text
-}
{- {-
hledger-check-tag-files script (stack version) hledger-check-tag-files stack script.
Read the default journal and give an error if any tag values Read the default journal and give an error if any tag values
containing '/' do not exist as file paths. containing '/' do not exist as file paths.
Usage: Usage:

View File

@ -1,16 +1,16 @@
#!/usr/bin/env stack #!/usr/bin/env stack
{- stack script --compile --resolver=lts-16.2 {- stack script --compile --resolver=lts-16.3
--package base-compat --package base-compat
--package filepath --package filepath
--package hledger-lib --package hledger-lib
--package optparse-applicative --package optparse-applicative
--package megaparsec --package megaparsec
--package text --package text
--package time --package time
--package transformers --package transformers
-} -- Change --resolver above to one you already have installed, if you like -}
{-
{-
``` ```
Usage: hledger-check [-f|--file FILE] [--alias OLD=NEW] [--ignore-assertions] Usage: hledger-check [-f|--file FILE] [--alias OLD=NEW] [--ignore-assertions]
[-b|--begin DATE] [-e|--end DATE] [-C|--cleared] [-b|--begin DATE] [-e|--end DATE] [-C|--cleared]

View File

@ -1,7 +1,7 @@
#!/usr/bin/env stack #!/usr/bin/env stack
{- stack runghc --verbosity info {- stack script --compile --resolver lts-16.3
--package hledger-lib
--package hledger --package hledger
--package containers
-} -}
{-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-} {-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-}

View File

@ -1,5 +1,5 @@
#!/usr/bin/env stack #!/usr/bin/env stack
{- stack runghc --verbosity info {- stack script --compile --resolver lts-16.3
--package hledger --package hledger
--package safe --package safe
--package string-qq --package string-qq

View File

@ -1,5 +1,5 @@
#!/usr/bin/env stack #!/usr/bin/env stack
{- stack runghc --verbosity info {- stack script --compile --resolver lts-16.3
--package hledger-lib --package hledger-lib
--package hledger --package hledger
--package string-qq --package string-qq