mirror of
https://github.com/marcosh/crem.git
synced 2024-09-11 12:36:19 +03:00
move examples to internal package
This commit is contained in:
parent
432cf8ad6c
commit
7f51d0b7af
@ -1,5 +1,6 @@
|
||||
[
|
||||
"doctest"
|
||||
"examples"
|
||||
"hobbit-game"
|
||||
"src"
|
||||
"spec"
|
||||
|
10
package.yaml
10
package.yaml
@ -105,12 +105,21 @@ library:
|
||||
- condition: false
|
||||
other-modules: Paths_crem
|
||||
|
||||
internal-libraries:
|
||||
crem-examples:
|
||||
source-dirs: examples
|
||||
dependencies:
|
||||
- crem
|
||||
- profunctors
|
||||
- singletons-base
|
||||
|
||||
tests:
|
||||
crem-spec:
|
||||
main: Spec.hs
|
||||
source-dirs: spec
|
||||
dependencies:
|
||||
- crem
|
||||
- crem-examples
|
||||
- hspec
|
||||
- profunctors
|
||||
- singletons-base
|
||||
@ -137,6 +146,7 @@ executables:
|
||||
main: Main.hs
|
||||
dependencies:
|
||||
- crem
|
||||
- crem-examples
|
||||
# Disable adding Paths_crem to other-modules, because it does not conform to our style guide.
|
||||
# https://github.com/sol/hpack#handling-of-paths_-modules
|
||||
when:
|
||||
|
Loading…
Reference in New Issue
Block a user