Fork me on GitHub
#clojuredesign-podcast
<
2019-08-05
>
ghosttoaster21:08:30

So I feel like I've been stuck trying to grok boot for a while now.

ghosttoaster21:08:32

It feels clunky to create new projects. Where lein as lein new the equivalent boot statement involves putting the boot-new dependency on the commandline which i can never really remember. I also don't really grok the immutable file tree thing that happens. Like I really want to come up with a workflow using asciidoctorj and some custom plugins to produce slideshow presentations. I can't really understand how to structure my project to do that...

ghosttoaster21:08:40

I think what I want to do is create a task that reads in asciidoc code and applies my custom syntax rules. Then I'd use that task with some other boot task that creates html slideshows?

nate21:08:43

@cdimara have you tried doing this task with lein?

ghosttoaster21:08:01

I have not. Its something like this possible iwth lein?

ghosttoaster21:08:49

I wasn't sure if the customization would be there. Particularly because I want to do something for which the end product isn't really a clojure app.

nate21:08:09

hm, I don't know if it's possible with lein

ghosttoaster21:08:58

Yeah, I mean I was hoping to use boot's kind of generic build tool flexibility to help me create documents and slideshows, using java libraries and tools.

nate21:08:15

ah, I see

ghosttoaster21:08:24

But they start talking about pods... boot pods. I have no idea what that means.

nate21:08:38

Have you tried asking in the #boot channel?

ghosttoaster21:08:03

Yeah... I'll go back there.

ghosttoaster21:08:12

I've asked some stuff before.

ghosttoaster21:08:18

Its tough to get a response sometimes.

nate21:08:47

I understand

ghosttoaster21:08:48

But they've been pretty helpful. That Sean Cornfield guy is pretty great.

nate21:08:56

yeah, definitely

ghosttoaster21:08:54

Anyways thats my two cents on the lein vs boot debate.

ghosttoaster21:08:00

Deps is pretty rad.

ghosttoaster21:08:23

I still can't set up a closurescript project to save my life though.

nate21:08:25

I think cljs is best started off with a template so you can get going and then pick it apart and see how things fit together

nate21:08:42

cljs has to deal with the jungle of javascript and npm

ghosttoaster21:08:43

ah. Thats a good idea.

Drew Verlee22:08:44

@cdimara I believe boot is aimed at creating a pipeline of functionally. You can add a piece of the pipe along with importing others. This type of composing is hard in lein, which is simply configuration. Is that helpful? I'm not an expert on either.

Drew Verlee22:08:57

That's in part why lein is easier to get started with, it's a simpler by being constrained.

ghosttoaster22:08:04

I think the the generic tooling aspect is what I'm looking for though.

ghosttoaster22:08:41

So I may have to take another crack at trying to understand boot.