Commit graph

7 commits

Author SHA1 Message Date
Chris Price
2a7deebcb8 s/consistend/consistent 2017-01-22 13:19:25 -08:00
Alan Malloy
7a2ee55913 Consist => Consistent 2017-01-11 11:06:57 -08:00
Chris Price
5bd091a2bf Don't require nil for version in managed deps - fixes #2195
Prior to this commit, if you wanted to use modifiers such as
`:exclusions` or `:classifier` for a dependency whose version you
were managing with `:managed-dependencies`, you would need to
explicitly pass a `nil` as the version string in the dependency
tuple.  This commit adds some logic to coerce the vectors before
they are processed, so that if the version string is simply
omitted instead of being set to `nil`, the `nil` will be implicitly
inserted and things will continue to work as before.

This provides a slightly nicer and more intuitive UX for the
managed-dependencies feature.
2016-09-18 09:21:04 -07:00
Chris Price
9231c62b1d Add clarification re: :exclusions in managed dependencies docs 2016-09-01 10:48:11 -07:00
Chris Price
bfe97d63c6 Fix typo in example usage of lein-parent 2016-08-30 14:13:32 -07:00
Chris Price
7ea847d16f Clarify docs, add tests for transitive deps
This commit clarifies some things in the docs based on PR review.
It also adds additional test coverage for managed dependencies;
specifically, a case where two normal dependencies both have
a transitive dependency on the same library, but with different
versions.  The test validates that this conflict is properly
resolved via `:managed-dependencies`.
2016-06-30 10:29:18 -07:00
Chris Price
2fb603b2bf Add managed-dependencies example and docs
This commit adds an example of `:managed-dependencies` to the
sample project, and adds a separate markdown file to provide
more details and examples.
2016-06-27 11:41:59 -07:00