Skip to content

Commit 5e38d3a

Browse files
committed
Write and ignore .hie.
1 parent 3757ac9 commit 5e38d3a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ tags
2929
better-cache/
3030
stack*.yaml.lock
3131
dist-newstyle/
32+
.hie
33+
stan.html

package.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ extra-source-files:
4040
- src/test/Stack/Untar/test1.tar.gz
4141
- src/test/Stack/Untar/test2.tar.gz
4242
ghc-options:
43+
- -fwrite-ide-info
44+
- -hiedir=.hie
4345
- -Wall
4446
- -fwarn-tabs
4547
- -fwarn-incomplete-uni-patterns

stack.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ library
223223
Paths_stack
224224
hs-source-dirs:
225225
src/
226-
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -fwarn-identities
226+
ghc-options: -fwrite-ide-info -hiedir=.hie -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -fwarn-identities
227227
build-depends:
228228
Cabal
229229
, aeson
@@ -346,7 +346,7 @@ executable stack
346346
Paths_stack
347347
hs-source-dirs:
348348
src/main
349-
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded -rtsopts
349+
ghc-options: -fwrite-ide-info -hiedir=.hie -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded -rtsopts
350350
build-depends:
351351
Cabal
352352
, aeson
@@ -468,7 +468,7 @@ executable stack-integration-test
468468
hs-source-dirs:
469469
test/integration
470470
test/integration/lib
471-
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded -rtsopts -with-rtsopts=-N
471+
ghc-options: -fwrite-ide-info -hiedir=.hie -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded -rtsopts -with-rtsopts=-N
472472
build-depends:
473473
Cabal
474474
, aeson
@@ -597,7 +597,7 @@ test-suite stack-test
597597
Paths_stack
598598
hs-source-dirs:
599599
src/test
600-
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded
600+
ghc-options: -fwrite-ide-info -hiedir=.hie -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded
601601
build-depends:
602602
Cabal
603603
, QuickCheck

0 commit comments

Comments
 (0)