Fork me on GitHub
#cljs-edn2016-04-25
>
maria09:04:31

Hi everyone, just catching up on your conversation. @shaunlebron Thank you for getting this conversation started. Just to understand the use case: the main idea is to have a standard way to specify compiler configs, right? So that people can reuse them within a project or across projects? Or are people using multiple cljs build tools within the same project?

maria09:04:00

If we would have a separate cljs-builds.edn as @bhauman suggested in the second example of the gist, the main thing that we would standardise is how to specify different builds, right?

maria09:04:30

So we would mainly separate the compiler configs from the build tool configs, which could help new users to understand which part is build tool specific and which part is for the compiler itself.

maria09:04:13

But on the other hand, having the config for a project spread out between multiple files might be confusing.

shaunlebron15:04:10

@maria, thanks, those are good points

shaunlebron15:04:02

the main use case is to make a common starting point across projects, to add some uniformity to how we define cljs projects

shaunlebron15:04:04

I really wouldn’t expect multiple cljs build tools within the same project, except when lein/boot are needed purely for retrieving deps for planck, or the cljs.jar setup

shaunlebron15:04:59

I agree there are tradeoffs to separating compiler / buildtool configs

shaunlebron16:04:04

i’ll start setting up example projects in the proposal repo using different hypotheticals so we can better see those tradeoffs

shaunlebron16:04:23

@ul, sorry are you the logbot guy?

shaunlebron16:04:39

I think I was supposed to invite logbot so the first day was logged. anyway to retroactively log what was missed?

juhoteperi16:04:27

At @bhauman's gist: "; source-paths is common concern among all tools" <- this is not really true with Boot

juhoteperi16:04:54

Boot-cljs presumes that files are in Boot fileset and automatically manages source-paths

juhoteperi16:04:01

Also, while it probably doesn't make much sense with other tools, with Boot it makes sense to separate different builds to different files. Each .cljs.edn file represents single output file.