Ah, I see. I also saw you are already posting on the Shake list ;)
Hopefully someone else can weigh in with some pointers. I'll stop guessing!
> On Tue, Dec 19, 2017 at 2:31 PM, Luke Murphy <[1]
luk...@riseup.net> wrote:
>
> Hi Arnaud,
>
> Interesting setup you have there.
>
> I am not sure how I should take this statement :)
>
>
> So, Shake triggers a build, and you fire up a container and run Stack
> inside that? I assume that it does a full rebuild because it is a fresh
> container - regardless of Stack managing .stack and project changes.
>
> Actually no, I mount the full project's directory into the container so I
> (usually) get incremental builds.
> What's bothersome is that I don't have stack's dependencies in shake so I
> sometimes rebuild too much, e.g. I rebuild the service container even if
> only the tester's code changes.
> I was looking at `stack dot` which produces a dependency graph, but it
> seemed ridiculous to parse a graphviz file to reconstruct a dependency
> graph in my haskell code, so I had a look at stack's code itself but it's
> really not obvious how to get that graph directly.
>
> Perhaps you can look into directly using the built in docker support:
>
> 1. mailto:
> 2.