Hello everyone,
I am trying to improve my skills in clojure core, for this I’d rely on boot as opposed to lein which I use for projects - thus keeping the experiment ground separate from the main application development env.
However, even after doing a lot of search I haven’t been able to find out a proper workflow through ~/.boot/profile.boot - for example I’d like to use [zcaudate/hara "2.8.7"] on every instance of my global boot repl. How can I achieve this ?
Hey
This will add Hara to every boot repl invocation:
~ boot show -d
[zcaudate/hara "2.8.7"]
├── [org.clojure/clojure "1.8.0"]
~ cat ~/.boot/profile.boot
(set-env! :dependencies '[[zcaudate/hara "2.8.7"]])
If you only want to add the dependency to a special REPL invocation you can use something like this:
(deftask hara []
(with-pass-thru _
(set-env! :dependencies '[[zcaudate/hara "2.8.7"]])))
and then call it with boot hara repl or boot hara show -d.
Hope this is helpful 
@martinklepsch this is perfect!
Thanks 