diff --git a/.gitignore b/.gitignore index 0d3dfb1d..49c50bfb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,7 @@ dist-newstyle/ # Haskell Language Server-related hie.yaml + +# Stan-related +.hie +stan.html diff --git a/package.yaml b/package.yaml index e1536795..ac86645a 100644 --- a/package.yaml +++ b/package.yaml @@ -79,6 +79,8 @@ when: dependencies: network >= 3.1.2.9 ghc-options: + - -fwrite-ide-info + - -hiedir=.hie - -Wall # For testing diff --git a/pantry.cabal b/pantry.cabal index ef1015ff..51310d88 100644 --- a/pantry.cabal +++ b/pantry.cabal @@ -51,7 +51,7 @@ library Pantry.SHA256 hs-source-dirs: src/ - ghc-options: -Wall + ghc-options: -fwrite-ide-info -hiedir=.hie -Wall build-depends: Cabal >=3 && <3.11 , aeson @@ -130,7 +130,7 @@ library internal Paths_pantry hs-source-dirs: int/ - ghc-options: -Wall + ghc-options: -fwrite-ide-info -hiedir=.hie -Wall build-depends: Cabal >=3 && <3.11 , aeson @@ -194,7 +194,7 @@ executable test-pretty-exceptions Paths_pantry hs-source-dirs: app/test-pretty-exceptions - ghc-options: -Wall + ghc-options: -fwrite-ide-info -hiedir=.hie -Wall build-depends: Cabal >=3 && <3.11 , aeson @@ -288,7 +288,7 @@ test-suite spec Paths_pantry hs-source-dirs: test - ghc-options: -Wall + ghc-options: -fwrite-ide-info -hiedir=.hie -Wall build-tool-depends: hspec-discover:hspec-discover build-depends: