mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
bin: drop explicit --package options from stack scripts, not needed
If there are no --package options, stack's script command infers them from the imports.
This commit is contained in:
parent
efa0d43910
commit
99789bd4de
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env stack
|
||||
{- stack script --compile --resolver lts-16.3
|
||||
--package hledger
|
||||
-}
|
||||
-- stack script --compile --resolver lts-16.3
|
||||
|
||||
-- {-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-}
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
#!/usr/bin/env stack
|
||||
{- stack script --compile --resolver lts-16.3
|
||||
--package hledger
|
||||
--package directory
|
||||
--package text
|
||||
-}
|
||||
-- stack script --compile --resolver lts-16.3
|
||||
|
||||
{-
|
||||
hledger-check-tag-files stack script.
|
||||
Read the default journal and give an error if any tag values
|
||||
|
@ -1,14 +1,5 @@
|
||||
#!/usr/bin/env stack
|
||||
{- 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
|
||||
-}
|
||||
-- stack script --compile --resolver=lts-16.3
|
||||
|
||||
{-
|
||||
```
|
||||
|
@ -1,8 +1,5 @@
|
||||
#!/usr/bin/env stack
|
||||
{- stack script --compile --resolver lts-16.3
|
||||
--package hledger
|
||||
--package containers
|
||||
-}
|
||||
-- stack script --compile --resolver lts-16.3
|
||||
|
||||
{-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-}
|
||||
|
||||
|
@ -1,8 +1,5 @@
|
||||
#!/usr/bin/env stack
|
||||
{- stack script --compile --resolver lts-16.3
|
||||
--package hledger
|
||||
--package string-qq
|
||||
--package text
|
||||
-}
|
||||
{-
|
||||
Quick script that adds file/line number tags to print output.
|
||||
|
@ -1,13 +1,6 @@
|
||||
#!/usr/bin/env stack
|
||||
{- stack script --compile --resolver lts-16.3
|
||||
--package hledger
|
||||
--package safe
|
||||
--package string-qq
|
||||
--package text
|
||||
--package time
|
||||
-}
|
||||
-- --package hledger-lib
|
||||
-- Experimental; not guaranteed to work or be useful.
|
||||
-- stack script --compile --resolver lts-16.3
|
||||
|
||||
-- This is an unfinished prototype, see https://github.com/simonmichael/hledger/issues/1171
|
||||
-- Requires a contemporaneous version of the hledger package.
|
||||
-- Requires journal entries to be sorted by date.
|
||||
|
@ -1,10 +1,5 @@
|
||||
#!/usr/bin/env stack
|
||||
{- stack script --compile --resolver lts-16.3
|
||||
--package hledger-lib
|
||||
--package hledger
|
||||
--package string-qq
|
||||
--package text
|
||||
-}
|
||||
-- stack script --compile --resolver lts-16.3
|
||||
|
||||
{-# OPTIONS_GHC -Wno-missing-signatures -Wno-name-shadowing #-}
|
||||
{-# LANGUAGE NamedFieldPuns #-}
|
||||
|
Loading…
Reference in New Issue
Block a user