Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Alias Forum
Welcome to Autodesk’s Alias Forums. Share your knowledge, ask questions, and explore popular Alias topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do you refer to or reuse one alias from another using deps.edn?

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
288 Views, 0 Replies

How do you refer to or reuse one alias from another using deps.edn?

It seems as though it's not possible to reuse one deps.edn alias from another, but I'd love to be proven wrong about this.

For example, say you have a :dev alias with some :extra-deps, :extra-paths, etc, and then a handful of dev-related aliases which can only be run with the stuff in :dev. You can obviously just run with -A:dev:other-alias (or -M, -X, etc), but it seems like there should be a way to just say that :other-alias depends on :dev so that explicitly adding it is not necessary. jasonmoulding

I have tried adding :main-opts ["-A:dev"], but this doesn't work (you get a java.io.FileNotFoundException: -A:dev (No such file or directory), suggesting that it thinks this is the name of a clj file you're trying to run.

Is there a way to do this, or are we stuck either duplicating content or requiring users to explicitly add the reused (e.g. :dev) alias?

Labels (1)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report