Fork me on GitHub
#cursive
<
2016-01-04
>
simax9915:01:27

I see there's a section on the boot wiki for Cursive users. Is anybody using boot with Cursive? If so, how's it been? Any problems? I'm liking the look of https://github.com/magomimmo/modern-cljs second edition and thinking of giving the tutorials a try.

meow18:01:39

I use boot with Cursive, sure.

meow18:01:04

I haven't updated my boot stuff in a while so I'm not on the latest.

meow18:01:04

Unless things have changed, basically cursive does not understand boot so you need to create a minimal project.clj file in the Lein style that cursive knows how to work with. There is a boot utility that can create said file from a boot project.

meow18:01:51

It's a hack, but a simple and useful one. Not much of a hassle.

meow18:01:38

And its a decent compromise. Cursive just needs to know what code you depend on and lein is a monolithic approach so they go together well. Boot is much more composition oriented and very flexible so boot scripts can be combined in a wide variety of ways that could easily confuse the heck out of cursive. So just create a project.clj file that contains every dependency you need to please cursive. I like to just keep things simple.

meow18:01:33

@simax99: ^ a bit of a late reply but all the same... simple_smile

simax9918:01:47

@meow: Thanks for the tips. To me it seems there is just less “magic” with boot. You can see exactly whats going on. Looking forward to giving at spin.

meow19:01:36

@simax99: Yeah, I just started using clojure about 8 months ago and boot was out there and looked like a good design so I learned boot fairly well and then just enough of Lein that I can get things done. You definitely have to understand boot at a conceptual level and there was a learning curve for me, partly due to not having enough experience with clojure or even functional programming. Fortunately, I have to say that the boot folks are super, super helpful and supportive. If you run into any snags with boot be sure to reach out on the #C053K90BR channel and you will definitely get the help you need.

meow19:01:24

Leiningen is also a great tool, I should add. And since lein and boot come at things from opposite ends of the spectrum they both have a place in your tool set.