ghcide hack (#21)
* ghcide hack
* Removed executable
* bumped resolver
* removed extra Lib.hs
commitffdd32782cfc5cb8b5f8dcf0b7a8501a4a045e3f
authoriko <ilyakooo0@gmail.com>
dateThu 6 Feb 2020, 16:33 (7 years ago)
parenta093106
.weeder.yamlnew file+1
@@ -0,0 +1 @@
1+- message: Module reused between components
app/Main.hsdeleted−7
@@ -1,7 +0,0 @@
1−module Main
2− ( main,
3− )
4−where
5−
6−main :: IO ()
7−main = putStrLn "henlo."
hie.yamlnew file+4
@@ -0,0 +1,4 @@
1+cradle:
2+ stack:
3+ - path: "."
4+ component: "isoparsec:test:isoparsec-test"
package.yaml+10−20
@@ -21,17 +21,16 @@ description: Please see the README on GitHub at <https://github.com/ilya
2121
2222dependencies:
2323- base >= 4.7 && < 5
24+- containers
25+- optics-core
26+- megaparsec
27+- bytestring
28+# - text
29+- mtl
2430
2531library:
2632 source-dirs: src
27−
28− dependencies:
29− - optics-core
30− - megaparsec
31− - containers
32− - bytestring
33− # - text
34− - mtl
33+ dependencies: []
3534
3635default-extensions:
3736- AllowAmbiguousTypes
@@ -57,26 +56,17 @@ default-extensions:
5756- TypeOperators
5857- UndecidableInstances
5958
60−executables:
61− isoparsec-exe:
62− main: Main.hs
63− source-dirs: app
64− ghc-options:
65− - -threaded
66− - -rtsopts
67− - -with-rtsopts=-N
68− dependencies: []
69−
7059tests:
7160 isoparsec-test:
7261 main: Spec.hs
73− source-dirs: test
62+ source-dirs:
63+ - test
64+ - src
7465 ghc-options:
7566 - -threaded
7667 - -rtsopts
7768 - -with-rtsopts=-N
7869 dependencies:
79− - isoparsec
8070 - tasty
8171 - tasty-hspec
8272 - hspec
src/Lib.hsdeleted−6
@@ -1,6 +0,0 @@
1−module Lib
2− ( someFunc
3− ) where
4−
5−someFunc :: IO ()
6−someFunc = putStrLn "someFunc"
stack.yaml+1−1
@@ -17,7 +17,7 @@
1717#
1818# resolver: ./custom-snapshot.yaml
1919# resolver: https://example.com/snapshots/2018-01-01.yaml
20−resolver: lts-14.15
20+resolver: lts-14.23
2121
2222# User packages to be built.
2323# Various formats can be used as shown in the example below.