;bin: consistent use of stack script, package updates
This commit is contained in:
parent
431a502a0a
commit
4747e2eacf
@ -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
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/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
|
||||||
@ -8,9 +8,9 @@
|
|||||||
--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]
|
||||||
|
|||||||
@ -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 #-}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user