Fork me on GitHub
#boot
<
2017-03-14
>
thheller16:03:41

can someone point me to some documentation about what is allowed in .cljs.edn files for boot-cljs?

thheller16:03:17

{:require  [foo.bar baz.baf]
 :init-fns [foo.bar/init baz.baf/doit]
 :compiler-options {:target :nodejs}}

thheller16:03:27

is that all the allowed options it understands?

thheller16:03:52

@richiardiandrea wasnt talking about :compiler-options but I guess the code answers my question

thheller16:03:59

:rel-path :ns-name :require :init-fns seems to be it

richiardiandrea16:03:47

you are right it would be great to have them in the README

thheller17:03:21

just researching how boot handles the configuration side of things

juhoteperi17:03:23

:rel-path is not from cljs.edn

juhoteperi17:03:43

it is the relative path of the file, not from file contents

martinklepsch17:03:30

@thheller @richiardiandrea this was in the README at some point but got moved to the wiki so it’s easier to contribute for others: https://github.com/boot-clj/boot-cljs/wiki/Usage#options

richiardiandrea17:03:05

@martinklepsch awesome, my bad I should have checked there first thing 😄

thheller17:03:01

ah I guess I'm blind. just glanced over the table didn't see the .cljs.edn in the header

martinklepsch18:03:01

how do I add a jar to the classpath with boot again?

ag20:03:27

what’s the correct way to override :source-paths for a task?

ag20:03:08

I mean completely override it, not just add stuff to it

micha20:03:00

i don't think it's really possible

ag21:03:06

wait what?

levitanong21:03:35

Hi, is anyone else having trouble getting boot-cljs 2.0.0 to run with clojurescript >1.9.456?

levitanong21:03:23

at clojurescript 1.9.473, I get Can't define method not in interfaces: _relative_path

levitanong21:03:02

at clojurescript 1.9.494, I get No such var: deps/-relative-path

levitanong21:03:05

These error messages are always shown to be originating from cljs/compiler.cljc

micha21:03:40

are you using clojure 1.8.0?

micha21:03:53

and i would use boot version 2.7.1 if possible

levitanong21:03:05

@micha I’m using clojure 1.9.14

levitanong21:03:01

@micha Just checked, I’m already on boot 2.7.1

levitanong21:03:13

sorry, when i said boot 2.0.0 i meant boot-cljs

levitanong21:03:18

let me edit it for clarity