Fork me on GitHub
#boot
<
2015-09-23
>
joelkuiper10:09:35

is there a boot equivalent of lein-ancient?

delaguardo10:09:22

But doesn’t overwrite your build.boot file

delaguardo10:09:39

only notify about outdated deps

martinklepsch10:09:28

@joelkuiper: also boot show -d

xifi11:09:02

@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

xifi11:09:16

but it's not published on clojars

martinklepsch12:09:39

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?

alandipert12:09:08

@martinklepsch: iirc there is a make-fileset or empty-fileset or similar in boot.core somewhere

martinklepsch12:09:57

(def new-fileset
  (memoize
    (fn []
      (boot.tmpdir.TmpFileSet. @tempdirs {} (tmp-dir* ::blob)))))

martinklepsch12:09:18

this exists but boot.user=> boot.core/new-fileset throws an exception that it’s private?!

alandipert12:09:12

hm, @#'boot.core/new-fileset simple_smile

alandipert12:09:39

but i agree, we should have a public and easy way to make filesets for testing etc

martinklepsch15:09:34

reminds me of your hyphenate project. (not sure if it’s the same though)

juhoteperi15:09:05

@martinklepsch: It doesn't seem to use hyphenation rules

juhoteperi15:09:55

It for breaking words so that Unicode multi-byte sequences aren't broken

juhoteperi15:09:34

But yeah, I haven't seen it before and it's interesting

martinklepsch15:09:20

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)

martinklepsch15:09:35

has anyone tried using boot tasks as checkout dependencies before? do I need to list boot as explicit dependency?

martinklepsch15:09:19

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

martinklepsch16:09:00

adding [boot/core “2.1.2”] to the list of dependencies worked

martinklepsch16:09:47

getting java.util.ConcurrentModificationException every now and then when starting boot, any ideas why that is?

juhoteperi17:09:02

@jamesmacaulay: What does cross-compiling mean here?

jamesmacaulay19:09:32

@juhoteperi: I mean targeting both Clojure and ClojureScript via .cljc files

juhoteperi19:09:56

Nothing special about doing that with boot

juhoteperi19:09:16

Just make sure you are using Clj 1.7 and everything works

juhoteperi19:09:49

Saapas (https://github.com/Deraen/saapas) includes an cljc example namespace and boot.properties file which makes Boot use 1.7

jamesmacaulay19:09:54

that's helpful, thank you

juhoteperi19:09:07

Though Clj 1.7 is the default since Boot 2.2.0 anyhow

alandipert19:09:51

@jamesmacaulay: also i started work on a task that compiled cljs into 1.6-compatible clj and cljs, but never finished it

alandipert19:09:13

such a is very possible though if that's what you're looking for

dave20:09:05

@alandipert: thanks for the shout-out! 🦀

martinklepsch20:09:18

@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?

martinklepsch20:09:38

made some good progress on a HUD for the cljs compiler/reload simple_smile

alandipert22:09:00

@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

martinklepsch22:09:58

cool, I’m thinking of adding something like :adzerk.boot-cljs/messages to the .cljs.edn files.

alandipert22:09:58

oh nvm i am thinking about boot.core/warnings

alandipert22:09:51

following GH links back into my own memory

martinklepsch22:09:37

that’s pretty much what I’m doing :+1:

alandipert22:09:20

cool. i like the idea of augmenting a file with stuff

martinklepsch22:09:46

only problem in a general case like the speak task is: what file to attach it to + what key to use?

alandipert23:09:40

seems like that's a general problem, whether it's which var or which file or which keyword in the map