[Haskell-beginners] Stack minimal dependency specification, or dependency tree output

Lyndon Maydwell maydwell at gmail.com
Wed Feb 24 23:58:14 UTC 2016


Hi Simon,


> stack dot --external --depth 0


That's exactly what I was first looking for!

Cheers :)


 - Lyndon

On Thu, Feb 25, 2016 at 9:55 AM, Simon Jakobi <simon.jakobi at googlemail.com>
wrote:

> Hi Lyndon,
>
> I'd like to see some kind of tree instead, so that when I pre-install the
>> dependencies, I can specify a minimal list, rather than a whole slew of
>> dependencies that would be pulled in transitively anyway.
>
>
> There's "stack list-dependencies" but that includes the transitive
> dependencies.
>
> You can get the dependency tree (or rather dependency graph) with "stack
> dot --external"
>
> "stack dot --external --depth 0" will show only the direct dependencies of
> your project.
>
> More stack dot examples:
> http://docs.haskellstack.org/en/stable/dependency_visualization/
>
> Cheers,
> Simon
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160225/f710c37d/attachment.html>


More information about the Beginners mailing list