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:
Simon Michael 2020-08-15 09:59:59 -07:00
parent efa0d43910
commit 99789bd4de
7 changed files with 8 additions and 40 deletions

View File

@ -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 #-}

View File

@ -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

View File

@ -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
{-
```

View File

@ -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 #-}

View File

@ -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.

View File

@ -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.

View File

@ -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 #-}