Fork me on GitHub
#boot
<
2016-07-17
>
seancorfield00:07:01

@flyboarder: A boot-new template can create any structure it wants: it's "just code".

seancorfield00:07:32

As for the template names, boot-new and lein new have to use a convention for discovering templates but it would be an interesting enhancement to be able to override that and allow you to specify a particular coordinate... Do you want to open a GitHub issue for that?

seancorfield00:07:42

@flyboarder: Actually, looking at the code, you could have a template com.mycompany.mytemplate/boot-template -- I don't see anything obvious that would prevent you using a fully qualified group ID.

flyboarder02:07:58

@seancorfield: I don't have an issue with using the fully qualified name for now, thanks!

seancorfield02:07:40

Saw the new issue. Thanks @flyboarder !

seancorfield02:07:43

I think what I’ll do is allow a template argument with and without / — if there’s no /, it’ll auto-append /boot-template like it does now.

flyboarder02:07:20

@seancorfield: That's what I was thinking, makes sense, what should the project name be in that case?

seancorfield02:07:53

There’s actually another wrinkle — just documenting it in the ticket.

seancorfield02:07:51

See my latest comment on the ticket.

seancorfield02:07:44

TL; DR: I think you can just ask Boot to fetch the library directly and as long as it contains a boot.new.thing/thing function, you can then use -t thing for the template.

seancorfield02:07:36

@flyboarder: Also remember that -t specifies the template name to use and -n specifies the project name to generate — they are not related.

flyboarder03:07:56

@seancorfield: just saw the ticket, thanks!!

renlore03:07:14

so are there any projects that makes use of boot for a full stack clojure & clojurescript web app?

flyboarder04:07:50

@renlore lots hoplon/javelin/castra is one way to do that

richiardiandrea18:07:30

@renlore my lambone has the bare setup you need, but I would not recommend it if you are just.starting out https://github.com/Lambda-X/lambone

richiardiandrea18:07:15

Also, it now points mistakenly to a version of boot-cljs-devtools that is not on clojars yet

richiardiandrea18:07:33

(I am nudging the maintainer as we speak :))

alandipert21:07:13

oh sweet, PSA: [foo/bar "0.1.0" :exclusions [*/*]] totally works. no transitive deps brought in

anmonteiro21:07:43

how should relative paths be handled in Boot pipelines?

anmonteiro21:07:02

I’m having problems as different temp dirs are being created so I can’t resolve relative paths e.g. to node_modules

seancorfield22:07:08

nice @alandipert that will make several of my deps files a lot cleaner...

seancorfield22:07:41

I have a couple of libraries that currently have a loooonnnngg list of exclusions.