This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-05
Channels
- # announcements (4)
- # beginners (21)
- # calva (3)
- # clj-http (3)
- # clj-kondo (10)
- # clojars (5)
- # clojure (4)
- # clojure-europe (5)
- # clojurescript (71)
- # datomic (3)
- # fulcro (18)
- # helix (5)
- # introduce-yourself (2)
- # missionary (1)
- # off-topic (19)
- # polylith (21)
- # reagent (3)
- # shadow-cljs (28)
- # tools-deps (6)
- # xtdb (30)
{:deps {some.dep/one {:mvn/version "whatever"}}
:default-deps {other.dep/two {:mvn/version "RELEASE"}}
:aliases
{:some-alias {:extra-deps {other.dep/two nil}}
:other-alias {:extra-deps {other.dep/two nil}}}}
I know this could be done by specifying three aliases, one which has all the default deps, and the others which then have the actual stuff I want in them, but I was curious if it could be done without a third alias.
Is there a way to call a (non -main
) function with zero args via an alias? I know this might not make much sense but just wondering if I can convert a project.clj that is doing that via an alias and "-m"
without touching the project's code itself. Edit: I guess I can just use "-e"
in :main-opts
to accomplish this