boot

:boot-clj: https://boot-clj.github.io/ β€” build tooling for Clojure. Dev chat in #boot-dev
dominicm 2018-10-17T07:46:49.000100Z

@hmaurer reply has a bug in it, it can be safely ignored. I think there's a patch to fix it already.

martinklepsch 2018-10-17T14:47:17.000100Z

@seancorfield when using boot-tools-deps with -B and the pom task I'm seeing that the generated pom's dependencies all have scope "compile" β€” is that intentional/expected?

martinklepsch 2018-10-17T14:49:40.000100Z

I'm using boot to package a jar of a deps.edn based app: boot -d seancorfield/boot-tools-deps deps -B pom -p cljdoc -v 0.1.0 jar install

seancorfield 2018-10-17T14:51:15.000100Z

@martinklepsch it's not "intentional" in terms of boot-tools-deps -- pretty sure that's the default scope for tools.deps itself? As for expected...

seancorfield 2018-10-17T14:52:14.000100Z

If you're using deps.edn why not use a packager like depstar or cambada or pack?

martinklepsch 2018-10-17T14:59:49.000100Z

because I couldn't get any of them to make a regular (i.e. non uber) jar

martinklepsch 2018-10-17T15:12:08.000100Z

but I'm probably overthinking this. I should just package stuff as a zip file and run clj πŸ˜„

seancorfield 2018-10-17T15:16:38.000100Z

Cambada's has plain JAR support https://github.com/luchiniatwork/cambada#packaging-as-a-jar

martinklepsch 2018-10-17T15:49:54.000100Z

I tried the cambada packager but there even the plain jar does AOT which I found confusing (and couldn't figure out how to disable)

dominicm 2018-10-17T17:02:29.000100Z

@martinklepsch use packs skinny jar mode, theres a param for making it only dump out the current project.

dominicm 2018-10-17T17:02:51.000100Z

Or are you still looking for an extra feature on top? I'm happy to assist you with this 😊

dominicm 2018-10-17T17:03:15.000100Z

--help on the skinny main should hopefully help though.

martinklepsch 2018-10-17T17:05:22.000100Z

@dominicm I saw that in the sources but it’s not mentioned in the readme is it? I’ll take another look

martinklepsch 2018-10-17T17:06:11.000100Z

I’ve been thinking about just packaging it all in a tar file haha πŸ˜†

dominicm 2018-10-17T17:06:46.000100Z

Isn't it? I just have failed to push/write documentation. I'm gaining a reputation for this 😁

martinklepsch 2018-10-17T17:10:51.000100Z

In any case I need to set up some build step where JS is bundled and all that and so looking for something to do that. The jar requirement isn’t too strict but I thought it would be nice to just run cljdoc in prod by depending on a regular jar and running some main

seancorfield 2018-10-17T18:53:08.000100Z

Somewhat related to the recent discussion: as of this morning, our entire CI pipeline (including SQL migrations, JAR building and deployment to servers) runs on clj/`deps.edn` for most of our projects -- previously that was all on Boot.

seancorfield 2018-10-17T18:54:12.000100Z

This bug was killing us https://github.com/boot-clj/boot/issues/715

seancorfield 2018-10-17T18:54:53.000100Z

(as well as the 2.8 series of releases being both fairly buggy and including breaking changes)