Fork me on GitHub
#boot
<
2015-09-15
>
joelkuiper10:09:02

@juhoteperi: looks like the less4j-javascript addition fixed my problems. Let me know if you wanna keep it around or if I should maintain a fork simple_smile

juhoteperi10:09:31

@joelkuiper: I'm fine with supporting it. I might implement some logic to only add less4j-javascript dependency if user specifies the option.

joelkuiper10:09:35

cool! Thanks simple_smile I’ve also opened up a pr for boot-lees to support the extra flag. Although there might be a more clever way to make the boot-less package more independent of less4clj, not sure

wagjo17:09:59

Hi, boot pom uber gives me a "java.util.zip.ZipException: error in opening zip file". Any way to find out which dependency causes the problem?

onetom17:09:37

wagjo: boot show -d and stare at it strong 😉

wagjo18:09:19

OK so my above exception is caused by pom artifacts as mentioned in ^ issue

juhoteperi18:09:07

@meow: Have you thought about packaging the lein-generate task as a lib?

juhoteperi18:09:46

@martinklepsch: Or did you write the code in wiki?

juhoteperi18:09:29

... read the page and looks like neither of you wrote the code 😄

juhoteperi18:09:25

@alandipert @micha Have you thought about packaging lein-generate task from Boot 1 for Boot 2?

alandipert19:09:25

no because we haven't really needed to do that, but it would be useful for many to have, i'm sure

juhoteperi19:09:00

Yeah would be useful for cursive users

dottedmag22:09:55

I'm trying to add a simple "run" task, a-la lein run. Is it as simple as (require)ing necessary namespace and calling -main (or whatever) function from the (deftask)?

alandipert22:09:16

@dottedmag: it can be, yup

dottedmag22:09:38

@alandipert: thnx

dottedmag22:09:58

Seems to work. But only if I put (require) on the top level, if I put it inside (deftask) then it does not.

alandipert22:09:25

yeah, there's a trick

alandipert22:09:50

in a task you can do e.g. (require 'foo.bar) ((resolve 'foo.bar/-main))

alandipert22:09:58

require compiles, resolve finds the var by the symbol

dottedmag22:09:29

@alandipert: Thanks, very useful.

dave23:09:34

hi #C053K90BR!

dave23:09:27

so i've had this idea for a boot task for a while now, think i might start looking into writing it if there isn't already a way to do this with boot

dave23:09:40

does boot have an equivalent to what https://github.com/Raynes/lein-bin does?