Comments (8)
There's a fourth option here as well:
- Use
head.hackage
to build dependencies with GHC HEAD.
Indeed, I added a head.hackage
patch for cabal-doctest
here for precisely this reason.
cc @phadej
from heaps.
I don't use head.hackage, so it doesn't fit my workflow, so while it might be enough for some people I'd still need another solution.
from heaps.
While I'm sympathetic to the desire to have shake
build with GHC HEAD at all times, keeping cabal-doctest
in sync with HEAD can prove to be a nightmare due to how quickly the Cabal
API changes in its development process. We'd have to constantly be churning out new Hackage releases of cabal-doctest
to stay in line with the moving target of HEAD. More than likely, most of those releases would bitrot by the time the next major release of GHC came out, which would require time and effort to go back and make metadata revisions to repair the old, broken versions of cabal-doctest
that no longer compile with the new major release.
This is why I strongly encourage people to use head.hackage
, since it allows people who use GHC HEAD to stay on top of the latest development changes without spamming Hackage with a bunch of releases to stay in sync with HEAD. It also means that developers don't have to worry about incurring dependencies as much as they used to, since head.hackage
can ensure that they're always building without issues.
from heaps.
from heaps.
Option (5) also sounds reasonable. Is there a way to remove the custom Setup.hs
stanza while still retaining the ability to run doctest
s locally (within the heaps
repo itself)?
from heaps.
@ndmitchell, #14 features a version of heaps
without the cabal-doctest
dependency. Would this work for your needs?
from heaps.
- would be the best option, and #14 gets there. I think @phadej is right that Shake should avoid build-type Custom.
from heaps.
I've released heaps-0.3.6.1
to Hackage without a cabal-doctest
dependency. Let me know if anything else is required on heaps
' end.
from heaps.
Related Issues (8)
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 heaps.