mirror of
https://github.com/ilyakooo0/isoparsec.git
synced 2024-11-22 13:02:52 +03:00
ghcide hack (#21)
* ghcide hack * Removed executable * bumped resolver * removed extra Lib.hs
This commit is contained in:
parent
a0931060c5
commit
ffdd32782c
1
.weeder.yaml
Normal file
1
.weeder.yaml
Normal file
@ -0,0 +1 @@
|
||||
- message: Module reused between components
|
@ -1,7 +0,0 @@
|
||||
module Main
|
||||
( main,
|
||||
)
|
||||
where
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "henlo."
|
4
hie.yaml
Normal file
4
hie.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
cradle:
|
||||
stack:
|
||||
- path: "."
|
||||
component: "isoparsec:test:isoparsec-test"
|
30
package.yaml
30
package.yaml
@ -21,17 +21,16 @@ description: Please see the README on GitHub at <https://github.com/ilya
|
||||
|
||||
dependencies:
|
||||
- base >= 4.7 && < 5
|
||||
- containers
|
||||
- optics-core
|
||||
- megaparsec
|
||||
- bytestring
|
||||
# - text
|
||||
- mtl
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
|
||||
dependencies:
|
||||
- optics-core
|
||||
- megaparsec
|
||||
- containers
|
||||
- bytestring
|
||||
# - text
|
||||
- mtl
|
||||
dependencies: []
|
||||
|
||||
default-extensions:
|
||||
- AllowAmbiguousTypes
|
||||
@ -57,26 +56,17 @@ default-extensions:
|
||||
- TypeOperators
|
||||
- UndecidableInstances
|
||||
|
||||
executables:
|
||||
isoparsec-exe:
|
||||
main: Main.hs
|
||||
source-dirs: app
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
dependencies: []
|
||||
|
||||
tests:
|
||||
isoparsec-test:
|
||||
main: Spec.hs
|
||||
source-dirs: test
|
||||
source-dirs:
|
||||
- test
|
||||
- src
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
- isoparsec
|
||||
- tasty
|
||||
- tasty-hspec
|
||||
- hspec
|
||||
|
@ -1,6 +0,0 @@
|
||||
module Lib
|
||||
( someFunc
|
||||
) where
|
||||
|
||||
someFunc :: IO ()
|
||||
someFunc = putStrLn "someFunc"
|
@ -17,7 +17,7 @@
|
||||
#
|
||||
# resolver: ./custom-snapshot.yaml
|
||||
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
||||
resolver: lts-14.15
|
||||
resolver: lts-14.23
|
||||
|
||||
# User packages to be built.
|
||||
# Various formats can be used as shown in the example below.
|
||||
|
Loading…
Reference in New Issue
Block a user