Fork me on GitHub
#boot
<
2015-07-17
>
micha00:07:08

alejandro: what kind of OOM is it? heap or permgen?

arnaudsj10:07:51

hi, anybody knows how to configure the "speak" sound theme? From the code it appears there are 3 themes shipped with boot, but I don't see what the property that needs to be set in boot.properties

alandipert12:07:03

@arnaudsj: speak takes a :theme argument, e.g. boot speak -t woodblock

alandipert12:07:22

@arnaudsj: boot speak -h gives more info

martinklepsch13:07:12

@meow: is this an option for boot-cljs-repl? looks nice!

meow13:07:49

@martinklepsch: That's the same question I had. I've got my head in the middle of a different project, but in a day or two I might look at this library to see how to combine it with boot. There are so many interesting things happening in the cljs repl space right now.

martinklepsch13:07:17

yes there are simple_smile

arnaudsj13:07:51

@alandipert: thank you. That's the pointer I needed!

meow13:07:25

@pri: we need to turn you into a boot user! 😉

bensu14:07:12

is this a good place for cljsjs/packages questions?

martinklepsch14:07:37

Maybe #C03S1L9DN is better or we even do a #cljsjs room?

bensu14:07:58

couldn't find #cljsjs

martinklepsch14:07:05

doesn’t exist 😄

martinklepsch14:07:21

but it’s fine, just ask simple_smile

bensu14:07:08

so, I'm wondering what are the requirements for a foreign lib to be packaged with cljsjs, are they the same ones as for clojurescript?

martinklepsch14:07:36

yeah, I’d say so. Overall they’re meant for CLJS

bensu14:07:26

then, when a foreign-lib itself has dependencies, and a custom (crazy?) js build process, is it possible practical to package the dev "inc.js" files, or do people just package the final dist/foreign-lib.min.js file?

martinklepsch14:07:54

dependencies can be done just like with other clojure or clojurescript code. deps.cljs provides a way to “require” things. eg. :requires [“cljsjs.react”]

martinklepsch15:07:39

when you run boot package in any package there will be a deps.cljs file in target/ that will end up in the jar and be analyzed by the CLJS compiler

bensu15:07:55

cool. but the foreign library must adhere to some CommonJS/AMD pattern right?

martinklepsch15:07:48

foreign libraries have no restrictions really. just Javascript in files really.

bensu15:07:39

so the contract is that it should dump it's "provide object" in the global namespace

martinklepsch15:07:10

yeah, most JS libs just define something in the global NS

bensu15:07:23

right, but some give you a constructor function which expects you to call them with a export module that supplies them with what they need. this is what is giving me trouble.

bensu15:07:23

thanks for the help, it is really useful. I'll keep hitting cljsjs with PR's until I package the library I need (or until I give up and write it myself 😞 )

martinklepsch15:07:27

Oh I see. “This is left as an exercise to the reader” I’m afraid.

martinklepsch15:07:02

Probably documentation in the packages readme is the easiest fix for those kind of problems

bensu15:07:51

hahaha, thanks. I'll do my best.

bensu15:07:31

one more thing....

bensu15:07:10

Is it ok to submit a PR with only the minified version? (stubbing for the dev version as well)

adamfrey20:07:54

Is there a boot task for running a node cljs repl? Googling didn't turn up anything for me.