Comments (3)
In the Setup.hs
you have doctests
, but your test-suite is ``doctest(without trailing
s`).
After that you have also not-specify NoImplicitPrelude
(it will be picked for the runtime from the library section).
-i
-i/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/build/autogen
-i/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/build
-i/home/ogre/mess/html-entities/library
-hide-all-packages
-no-user-package-db
-package-db=/home/ogre/.cabal/store/ghc-8.2.1/package.db
-package-db=/home/ogre/mess/html-entities/dist-newstyle/packagedb/ghc-8.2.1
-package-db=/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/package.conf.inplace
-optP-include
-optP/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/build/autogen/cabal_macros.h
-XArrows
-XBangPatterns
-XConstraintKinds
-XDataKinds
-XDefaultSignatures
-XDeriveDataTypeable
-XDeriveFoldable
-XDeriveFunctor
-XDeriveGeneric
-XDeriveTraversable
-XEmptyDataDecls
-XFlexibleContexts
-XFlexibleInstances
-XFunctionalDependencies
-XGADTs
-XGeneralizedNewtypeDeriving
-XLambdaCase
-XLiberalTypeSynonyms
-XMagicHash
-XMultiParamTypeClasses
-XMultiWayIf
-XNoImplicitPrelude
-XNoMonomorphismRestriction
-XOverloadedStrings
-XPatternGuards
-XParallelListComp
-XQuasiQuotes
-XRankNTypes
-XRecordWildCards
-XScopedTypeVariables
-XStandaloneDeriving
-XTemplateHaskell
-XTupleSections
-XTypeFamilies
-XTypeOperators
-XUnboxedTuples
-package-id=unordered-containers-0.2.8.0-39db60305e0ee934f204fca069bbc3b76a6453a78391d4480a99278d225cbe04
-package-id=text-1.2.2.2-6ac7503a550e052bab70f5fb00918d012ca2eb46d94e829ff77a9c04eb9d1036
-package-id=attoparsec-0.13.1.0-ed2802cd21b4cce13b8bf5e17980cda31d824221a1603639a4398ecec47fa956
-package-id=base-prelude-1.2.0.1-f06b69ab1a04e449d9297e023afa2e5764be3c7fb6a85ba80b914d0fdf51b731
-package-id=base-4.10.0.0
-package-id=doctest-0.12.0-70982e5605e0d65cd77f6e80ca3b67d73508fe9fcf59b89c6af74bba4e3d4448
-package-id=directory-1.3.0.2
-package-id=filepath-1.4.1.2
HTMLEntities.Text
HTMLEntities.Builder
HTMLEntities.Parser
HTMLEntities.Decoder
HTMLEntities.NameTable
HTMLEntities.Prelude
Examples: 9 Tried: 9 Errors: 0 Failures: 0
from cabal-doctest.
Thank you for such a fast response!
Concerning the NoImplicitPrelude
issue. Since custom preludes are so popular lately, how about adding an explicit import Prelude
to the generated Build_doctests
file, so that it wouldn't be affected by the NoImplicitPrelude
build-target flag?
from cabal-doctest.
Yeah, why not. PR is welcome :)
from cabal-doctest.
Related Issues (20)
- Make a release HOT 3
- Build_doctests isn't generated unless Cabal file defines a library HOT 8
- Should use doctest's --no-magic to stop it from interfering HOT 3
- running cabal-doctest on code that does FFI HOT 7
- Failure with GHC 8.8 / Cabal 2.5 HOT 8
- Add a motivation for this library to readme.
- Getting can't find soure for Build_doctests error. HOT 12
- Build error with GHC-8.8.1 HOT 2
- Work better with Haskell.nix? HOT 2
- Deprecation plan HOT 1
- Consider generating `Build_*` modules for more than just test-suite targets HOT 3
- cabal install <packages> fails with "Could not find module ‘Distribution.Extra.Doctest’" HOT 2
- Readme and description mention closed issue HOT 1
- Dyplicate symbol definition failure HOT 3
- Add constraint `Cabal >=1.24` to example in README HOT 2
- Support for mixins HOT 6
- "Attempting to use module .. which is not loaded" error HOT 4
- Build failure with GHC 9.2 alpha-2 HOT 8
- Publish a version that accepts Cabal 3.6 HOT 3
- Dropping maintenance, takeovers welcome HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabal-doctest.