Fork me on GitHub
#boot
<
2015-06-10
>
meow13:06:11

It would be great if someone from the boot community could add a section at the end of this: https://github.com/clojure/clojurescript/wiki/Dependencies

martinklepsch13:06:14

@meow: good idea! If you have time consider approaching it on your own. I’m sure people will happily give feedback simple_smile

meow13:06:16

I submitted that as an issue on Github

meow13:06:27

@martinklepsch: at this point I'm still just working it out and trying not to be frustrated - maybe I'll do it myself after I figure it out and am less grumpy 😉

martinklepsch13:06:53

Anything in particular that’s frustrating?

martinklepsch13:06:17

Frustration is the cause of all documentation 😄

meow13:06:37

Frustration is great. I'm used to it since I'm very persistent in working towards a goal that isn't the well-traveled path. But it's still, um, frustrating...

meow14:06:17

Yesterday was mostly spent on other matters, so I'm pretty much at the same place I was then. I've gone through David Nolen's CLJS QuickStart wiki page and everything works fine. Now I want to do more. Specifically I want to use Sablono and I want to satisfy that dependency with Boot.

meow14:06:14

And I want to continue to use the basic brepl. It would be easy to jump to lein figwheel, but that's not what I want. (Figwheel is awesome. I just want to continue to keep things basic so I actually understand what is going on "under the covers".)

meow14:06:39

I'm frustrated because I feel like I should have figured this out in 5 minutes and gotten on to the next step. But so far that isn't happening. (Not that I'm complaining, right!)

martinklepsch14:06:31

REPL stuff can get frustrating indeed, I’m at a point currently where I mostly just use reload.

meow14:06:54

I guess right now I'm feeling some kind of cognitive overload when I look at Boot because the documentation shows an overwhelming number of options without a lot of context. At least for someone like me who is new to clojure. I recognize what Boot is talking about but at this point I don't really care. What I want is the simplest possible boot script that will resolve my new dependency on sablono in my clojurescript app. I don't even care about the repl issues.

martinklepsch14:06:36

@meow: you still have that build.boot file generated by Tenzing right? You can just add sablono to the dependencies listed there.

meow14:06:08

@martinklepsch: Yes. And Tenzing has been most helpful.

meow16:06:06

@martinklepsch: In Tenzing, what purpose does the app.cljs.edn file serve?

meow16:06:25

@martinklepsch: and Tenzing is specifying OM 0.8.6 instead of 0.8.8

meow16:06:50

@martinklepsch: nevermind the edn question.

ragge21:06:01

I'm trying to make an uberjar with the projects clojure source files included

ragge21:06:07

Currently, I'm doing this:

ragge21:06:19

(comp (pom :project 'name
           :version "0.1.0")
      (uber)
      (jar :file "name.jar"))

ragge21:06:50

that lands all deps in jar file, but not :source-paths

ragge21:06:04

probably missing something trivial...

alandipert22:06:13

@ragge: try putting your clojure code in :resource-paths instead

ragge22:06:27

@alandipert: thanks, that certainly works

ragge22:06:44

@alandipert: does that have any weird implications?

alandipert22:06:04

@ragge: it's worth knowing thta source/resource have particular meanings that differ from lein, https://github.com/boot-clj/boot/wiki/Filesets#fileset-components

alandipert22:06:38

where in lein source/resource are roughly equivalent (both add to classpath)

alandipert22:06:05

in boot source/resource are like tags on files in the fileset that determine how various tasks might handle them

ragge22:06:38

thanks for the pointer to the docs, makes a lot more sense