diff --git a/Shake.hs b/Shake.hs index 583103a7a..d3a1af6a9 100755 --- a/Shake.hs +++ b/Shake.hs @@ -1,5 +1,5 @@ #!/usr/bin/env stack -{- stack script --resolver nightly-2024-05-01 --compile +{- stack script --resolver nightly-2024-07-12 --compile --extra-include-dirs /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/ffi --package base-prelude --package directory diff --git a/bin/hledger-check-fancyassertions.hs b/bin/hledger-check-fancyassertions.hs index 44b20e547..728ed80b6 100755 --- a/bin/hledger-check-fancyassertions.hs +++ b/bin/hledger-check-fancyassertions.hs @@ -11,7 +11,7 @@ -- -- You could make this a standalone script that runs from anywhere and -- recompiles itself when changed, by replacing "runghc" above with --- "script --compile --resolver lts-16" (eg). However this uses the +-- "script --compile --resolver lts-22" (eg). However this uses the -- hledger version from that stackage resolver, so in this case you -- should check out the corresponding release-tagged version of this -- script for compatibility (eg: git checkout 1.18.1). diff --git a/bin/hledger-register-max.hs b/bin/hledger-register-max.hs index 082da34a4..1965bf7fe 100755 --- a/bin/hledger-register-max.hs +++ b/bin/hledger-register-max.hs @@ -1,7 +1,7 @@ #!/usr/bin/env stack -- stack runghc -- (requires hledger > 1.34) --- -- stack script --compile --resolver nightly-2024-MM-DD --verbosity error --package hledger-lib --package hledger --package text --package safe +-- -- stack script --compile --resolver nightly-2024-07-12 --verbosity error --package hledger-lib --package hledger --package text --package safe -- hledger-register-max - runs "hledger register" and prints the posting with largest running total/balance. -- Usage: diff --git a/bin/hledger-register-max2.hs b/bin/hledger-register-max2.hs index 00e7020ce..eb6971949 100755 --- a/bin/hledger-register-max2.hs +++ b/bin/hledger-register-max2.hs @@ -1,8 +1,8 @@ #!/usr/bin/env stack -- stack runghc --verbosity error --package hledger -- stack runghc --verbosity error --package hledger --package hledger-lib --package text --package safe --- stack script --compile --resolver lts-20.13 --verbosity error --package hledger --package text --- stack script --compile --resolver lts-20.13 --verbosity error --package hledger --package hledger-lib --package text --package safe +-- stack script --compile --resolver nightly-2024-07-12 --verbosity error --package hledger --package text +-- stack script --compile --resolver nightly-2024-07-12 --verbosity error --package hledger --package hledger-lib --package text --package safe -- The topmost stack command above is used to run this script. -- stack script uses released hledger, stack runghc uses local hledger source. -- This script currently requires local hledger source, for Hledger.Cli.Script. diff --git a/bin/hledger-report1.hs b/bin/hledger-report1.hs index d965e45f4..8b357bfe3 100755 --- a/bin/hledger-report1.hs +++ b/bin/hledger-report1.hs @@ -1,7 +1,7 @@ #!/usr/bin/env stack -- stack runghc --verbosity error --package hledger --package hledger-lib --package text --package safe -- (use the local hledger source) --- -- stack script --compile --resolver nightly-2023-10-13 --verbosity info --package hledger --package text +-- -- stack script --compile --resolver nightly-2024-07-12 --verbosity info --package hledger --package text -- -- (use a released hledger from stackage) -- A custom compound report - like incomestatement but with different, diff --git a/stack.yaml b/stack.yaml index 34b07eace..f3fd9981b 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,6 +1,6 @@ # stack build plan using GHC 9.8.2 -resolver: nightly-2024-05-01 +resolver: nightly-2024-07-12 packages: - hledger-lib diff --git a/tools/changelog.hs b/tools/changelog.hs index c8ed70427..3c88f52e3 100755 --- a/tools/changelog.hs +++ b/tools/changelog.hs @@ -1,5 +1,5 @@ #!/usr/bin/env stack -{- stack script --resolver lts-22.12 +{- stack script --resolver nightly-2024-07-12 --package data-default --package extra --package process diff --git a/tools/docshelltest.hs b/tools/docshelltest.hs index ca046574e..ff94bd29d 100755 --- a/tools/docshelltest.hs +++ b/tools/docshelltest.hs @@ -1,5 +1,5 @@ #!/usr/bin/env stack -{- stack script --resolver nightly-2021-12-16 --compile +{- stack script --resolver nightly-2024-07-12 --compile -} -- add this to see packages being installed instead of a long silence: -- --verbosity=info