the first
the Clojure edn reader does read namespace maps but hiredman is correct that this is not currently part of the spec
Hello! How do I run clj to only download dependencies for a profile and exit at once? Like this: clojure -R:nrepl -e "(println :DOWNLOADED)"
? Thanks!
@holyjak clojure -R:nrepl -Spath
should do it :)
Using -Spath
also gives you more data should you need to debug anything (a Sean Corfield tip). I am using this form of command in my continuous integration yml configuration (in the step where I would have use lein deps
with Leingingen projects)
- run: clojure -R:test:runner -Spath
http://practicalli.github.io/clojure/testing/integration-testing/circle-ci/random-clojure-function.htmlthanks!!!
hello all, what is the magic
about starting so fast in comparing with lein
and boot
?
- less deps, clean design - do less things (lein/boot do A LOT more stuff) - cache classpath "in bash" ...
fire up only one java process (when classpath is cached)
design choise example:
lein help
will build a classpath, start a JVM, load all plugins, ask to every plugin if it implements "help" and eventually show the help message
clj --help
is handled without start any JVM
this saved me time and memory, many thanks who made it