mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
;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
|
||||
{- 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
|
||||
|
@ -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:
|
||||
|
@ -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]
|
||||
|
@ -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 #-}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user