This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-25
Channels
- # arachne (1)
- # beginners (22)
- # boot (21)
- # cider (23)
- # cljs-dev (16)
- # cljsrn (9)
- # clojure (118)
- # clojure-dev (11)
- # clojure-greece (16)
- # clojure-italy (10)
- # clojure-losangeles (4)
- # clojure-russia (14)
- # clojure-serbia (4)
- # clojure-spec (58)
- # clojure-uk (33)
- # clojurescript (30)
- # cursive (17)
- # datomic (48)
- # docs (22)
- # events (1)
- # fulcro (24)
- # hoplon (3)
- # jobs (6)
- # jobs-discuss (4)
- # keechma (4)
- # leiningen (11)
- # luminus (4)
- # midje (1)
- # off-topic (107)
- # onyx (30)
- # other-languages (12)
- # pedestal (4)
- # re-frame (72)
- # reagent (6)
- # remote-jobs (1)
- # shadow-cljs (16)
- # spacemacs (3)
- # specter (9)
- # uncomplicate (4)
- # unrepl (40)
@martinklepsch i was just reading https://github.com/martinklepsch/cljdoc/blob/master/doc/updates/0001-hello-everyone.md great work!
@onetom thanks 😊
Does boot support the deps.edn :git/url style dependencies?
There’s https://github.com/seancorfield/boot-tools-deps/ @petrus — I think that probably supports it
@petrus boot-tools-deps
doesn't support Git yet -- I've been holding off doing additional work on it until tools.deps
stabilizes a bit (I think the last round of refactoring in tools.deps
may have broken boot-tools-deps
anyway). I'm hoping to spend this weekend bringing boot-tools-deps
back up to the latest version and seeing how to make the Git stuff work. It'll be quite a change, I expect.
Part of the issue is the tension between how Boot handles dependencies and how tools.deps
handles them. For example, :scope
doesn't work as expected for transitive dependencies so you can end up with unexpected libraries on your classpath if you're trying to build a project, rather than just run it (since clj
and tools.deps
is about running code, not building projects).
Can I use Lein to fetch Git dependencies and then pass them as checkouts to boot?
lein doesn’t have the ability to work with anything but Maven artifact-based deps afaik
@kanwei Look at the call
task -- it can run Clojure expressions
(you'll need to require
the ns first, then call the start
fn)
@seancorfield thanks! will look into that
@seancorfield tried to implement it like this, but didn't work.
@kanwei Because that's not a legal Clojure expression -- you're going to get the result of the (require ..)
and then call it as a function passing (mount.core/start)
as an argument.
add do
at the beginning of that form and see if that works.
I don’t think that will work either - isn’t that the Gilardi Scenario?
Hah! Yes, I'd forgotten. So @kanwei will need two :eval
arguments...
(call :once true :eval "(require 'mount.core)" :eval "(mount.core/start)")
I think?
(I know that works from the command line because I've specified multiple -e
arguments with a require
as the first one)