This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-15
Channels
- # admin-announcements (7)
- # alda (6)
- # beginners (34)
- # boot (23)
- # cljs-dev (3)
- # clojure (73)
- # clojure-italy (4)
- # clojure-japan (6)
- # clojure-nlp (1)
- # clojure-russia (104)
- # clojure-sg (2)
- # clojurescript (222)
- # clojurex (7)
- # cursive (41)
- # datascript (2)
- # datomic (56)
- # docs (1)
- # editors (6)
- # emacs (3)
- # events (8)
- # hoplon (139)
- # jobs (2)
- # ldnclj (24)
- # luminus (2)
- # off-topic (3)
- # om (12)
- # onyx (24)
- # re-frame (5)
- # remote-jobs (1)
- # yada (1)
@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
@joelkuiper: I'm fine with supporting it. I might implement some logic to only add less4j-javascript dependency if user specifies the option.
cool! Thanks 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
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?
@meow: Have you thought about packaging the lein-generate task as a lib?
@martinklepsch: Or did you write the code in wiki?
... read the page and looks like neither of you wrote the code 😄
@alandipert @micha Have you thought about packaging lein-generate task from Boot 1 for Boot 2?
no because we haven't really needed to do that, but it would be useful for many to have, i'm sure
Yeah would be useful for cursive users
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)
?
@dottedmag: it can be, yup
Seems to work. But only if I put (require)
on the top level, if I put it inside (deftask)
then it does not.
yeah, there's a trick
in a task you can do e.g. (require 'foo.bar) ((resolve 'foo.bar/-main))
require
compiles, resolve
finds the var by the symbol
@alandipert: Thanks, very useful.
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
does boot have an equivalent to what https://github.com/Raynes/lein-bin does?