Skip to content

Resolve :extra-deps under aliases to be part of a project #2164

@danielcompton

Description

@danielcompton

I have a (partially redacted) project based on juxt/edge that looks like this:

{:paths ["src"]
 :deps
 {org.clojure/clojure {:mvn/version "1.10.0"}
  juxt.edge/lib.app {:local/root "../lib/edge.app"}

  yada {:mvn/version "1.3.0-alpha7"}
  juxt.edge/yada.ig {:local/root "../lib/edge.ig.yada"}
  juxt.edge/bidi.ig {:local/root "../lib/edge.ig.bidi"}
  integrant {:mvn/version "0.8.0-alpha2"}

 :aliases
 {:dev
  {:extra-paths ["dev" "test"]
   :extra-deps
   {juxt.edge/lib.app.dev {:local/root "../lib/edge.app.dev"}
    juxt.edge/test-utils {:local/root "../lib/edge.test-utils"}}}

  :test
  {:extra-paths ["test"]
   :extra-deps
   {juxt.edge/test-utils {:local/root "../lib/edge.test-utils"}}}

  :prod
  {:extra-deps
   {juxt.edge/lib.app.prod {:local/root "../lib/edge.app.prod"}}}}}

All of the local root dependencies in the main :deps block are resolved correctly and show up as sub-projects, but none of the :extra-deps are detected or resolved. I have the :dev and :test aliases enabled.

I think it would be most useful if all of the local roots under all aliases were resolved. I won't normally be running my deps project with the prod alias, but I may still want to look at the code for the juxt.edge/lib.app.prod project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugMarks issues describing bugsreleasedMarks issues which have had the fixes released in a stable build

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions