I'm porting a lein project to boot. In the process i'm just reading from the project.clj
. Now i'm wondering isn't there a boot library for this?
Hi, I’m trying to play around with overtone but a recent bug fix hasn’t been published on clojars for whatever reason. How can I specify in the dependencies env that I just want to pull the latest version from their github repo’s master branch?
via boot-tools-deps
possibly? You might run into other issues, but it's an option
Seems like it’s archived, I’m more wondering if there’s an idiomatic boot method to do this.
And unless I’m missing something from reading boot-tools-deps I’m not sure how that let’s you pull boot deps from github.
@me1926 example https://github.com/dundalek/closh/blob/master/build.boot#L15 and https://github.com/dundalek/closh/blob/master/deps.edn
other option is to install it locally
ah
thank you
boot-tool-deps might be archived but deps.edn will have a place in the roadmap of boot if i'm correct. So it would be a temporary thing
👍
@jeroenvandijk in the example you sent do you know why you have #_:scope #_"provided"
for the boot-tool-deps dep?
I don't remember
i think because you don't want to have it part of the uberjar
hm
but i guess that didn't work
there are issues to this approach, but it might solve your immediate issue
and how would you get this to actually pull the deps when you run e.g. boot repl?
something like this
(deftask repl []
(comp
(deps :quick-merge true)
(boot.task.built-in/repl)))
you sound skeptical
i'm working with this on a daily basis
Oh I see, I’m sorry.
I’m just not to familiar with boot in general.
Everything is a bit new and it needs some time to mature. But if you want the benefits of deps.edn it like this atm i'm affraid
The deps.edn tools are not too mature as well
Mature enough to run our 82,000 line Clojure code base in production with 30 sub-projects in a mono-repo 🙂
haha I agree! It does what I need, I didn't want to be disrespectful!
I'm not aware of other approaches in Boot (I'm pretty new myself as well)
👍
It doesn’t seem to like me redefining the repl task.
I think I’ll just try manually git cloning and adding it as a local dep. Thanks for the help though!
@me1926 ah true. Add this before deftask repl
:
(ns-unmap 'boot.user 'repl)
the other approach sounds reasonable!
@jeroenvandijk there is not currently a built in task for reading a Lein project file
However it’s fairly easy to implement and we recommend it for new users