;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
{- stack runghc --verbosity info
--package hledger-lib
{- stack script --compile --resolver lts-16.3
--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
the other, thus comparing them

View File

@ -1,9 +1,11 @@
#!/usr/bin/env stack
-- 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
{- stack script --compile --resolver lts-16.3
--package hledger
--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
containing '/' do not exist as file paths.
Usage:

View File

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

View File

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

View File

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

View File

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