This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-21
Channels
- # babashka (11)
- # beginners (15)
- # cider (2)
- # cljdoc (36)
- # cljsrn (3)
- # clojure (6)
- # clojure-europe (9)
- # clojurescript (17)
- # conjure (3)
- # deps-new (6)
- # development-containers (1)
- # emacs (3)
- # fulcro (4)
- # gratitude (14)
- # introduce-yourself (2)
- # joker (14)
- # lsp (1)
- # luminus (7)
- # malli (6)
- # polylith (7)
- # releases (1)
- # reveal (3)
- # sql (4)
- # vim (18)
(so far I've mostly been testing it with -Sdeps
to pull templates in from :local/root
stuff)
clojure -Sdeps '{:deps {com.acme/new-project {:mvn/version "1.0.0"}}}' -Tnew create :template acme.templates/new-app :name myname/myproject
for example
Assuming that com.acme/new-project
has template.edn
at acme/templates/new-app/
on the classpath.
I see. So, it will just pull from classpath, where ever that might be. Makes sense. Thanks.
@dorab My feeling was "why duplicate what the CLI can easily do?" and also "why tie the template name to the artifact name?" (which has been a long-standing frustration of mine with lein new
right up to clj-new
)