This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-23
Channels
- # admin-announcements (24)
- # alda (1)
- # aws (10)
- # beginners (15)
- # boot (51)
- # cider (37)
- # clojure (198)
- # clojure-berlin (3)
- # clojure-czech (48)
- # clojure-poland (1)
- # clojure-russia (7)
- # clojure-seattle (1)
- # clojurescript (347)
- # editors (64)
- # emacs (46)
- # hoplon (13)
- # immutant (24)
- # jobs (17)
- # ldnclj (20)
- # ldnproclodo (3)
- # off-topic (8)
- # om (37)
- # onyx (19)
- # re-frame (18)
- # reagent (54)
- # remote-jobs (2)
- # testing (9)
- # yada (1)
- # yleinen (4)
is there a boot equivalent of lein-ancient?
But doesn’t overwrite your build.boot file
only notify about outdated deps
@joelkuiper: also boot show -d
Thanks!
@joelkuiper: I use boot -d boot-deps ancient
with -a
. There's also a task that says it overwrites the boot file - https://github.com/leblowl/boot-syu
Is there a way to get a fileset without starting a build pipeline? e.g. for testing a function that takes a fileset as argument?
@martinklepsch: iirc there is a make-fileset or empty-fileset or similar in boot.core somewhere
(def new-fileset
(memoize
(fn []
(boot.tmpdir.TmpFileSet. @tempdirs {} (tmp-dir* ::blob)))))
this exists but boot.user=> boot.core/new-fileset
throws an exception that it’s private?!
hm, @#'boot.core/new-fileset
but i agree, we should have a public and easy way to make filesets for testing etc
@juhoteperi: seen insertWordBreaks
before? https://closure-library.googlecode.com/git-history/docs/namespace_goog_format.html
reminds me of your hyphenate project. (not sure if it’s the same though)
@martinklepsch: It doesn't seem to use hyphenation rules
It for breaking words so that Unicode multi-byte sequences aren't broken
But yeah, I haven't seen it before and it's interesting
I’m trying to use boot-reload as a checkout dependency but get this: java.io.FileNotFoundException: Could not locate boot/core__init.class or boot/core.clj on classpath., compiling:(adzerk/boot_reload.clj:1:1)
has anyone tried using boot tasks as checkout dependencies before? do I need to list boot as explicit dependency?
seems like the reload macros namespace requires the boot_reload.clj
which requires boot. I assume the cljs compiler pod does not have boot loaded, thus fails
adding [boot/core “2.1.2”]
to the list of dependencies worked
getting java.util.ConcurrentModificationException
every now and then when starting boot, any ideas why that is?
https://twitter.com/jamesmacaulay/status/646723530634170368 anyone know off hand and care to point him?
hello!
@jamesmacaulay: What does cross-compiling mean here?
@juhoteperi: I mean targeting both Clojure and ClojureScript via .cljc files
Nothing special about doing that with boot
Just make sure you are using Clj 1.7 and everything works
okay thanks
Saapas (https://github.com/Deraen/saapas) includes an cljc example namespace and boot.properties file which makes Boot use 1.7
that's helpful, thank you
Though Clj 1.7 is the default since Boot 2.2.0 anyhow
good to know
@jamesmacaulay: also i started work on a task that compiled cljs into 1.6-compatible clj and cljs, but never finished it
such a is very possible though if that's what you're looking for
@alandipert: thanks for the shout-out! 🦀
@juhoteperi: the :warnings
key and atom to count them — what is it used for? what will break if I change what’s in the :warnings
key?
made some good progress on a HUD for the cljs compiler/reload
@martinklepsch: speak/notify tasks look at it, but there was discussion awhile ago about using tmpfile meta instead to eg attach warning counts as metadata to files
cool, I’m thinking of adding something like :adzerk.boot-cljs/messages
to the .cljs.edn
files.
oh nvm i am thinking about boot.core/warnings
there is much discussion at https://github.com/boot-clj/boot/issues/129
or rather, http://hoplon.discoursehosting.net/t/best-practices-for-creating-extensible-tasks/358/3
following GH links back into my own memory
that’s pretty much what I’m doing 👍
cool. i like the idea of augmenting a file with stuff
only problem in a general case like the speak task is: what file to attach it to + what key to use?
seems like that's a general problem, whether it's which var or which file or which keyword in the map