Fork me on GitHub
#boot
<
2015-12-21
>
seancorfield06:12:26

Hmm, OK, that was a bit unexpected: boot show -u actually downloads all the newer versions of the libraries!

nha10:12:59

I started to work on a boot-uglify plugin ( https://github.com/nha/boot-uglify ), since I noticed that on my final out.js file I could get a ~10% compression boost. I am still trying to get my head around how to replace the final file in the fs though.

alandipert11:12:34

@nha: pretty cool! the thing you wanna do there is create a directory with tmp-dir!, put the new file in it, and then add the directory to the fileset with add-resource

alandipert11:12:07

(optionaly using rm to remove the original from the fileset before adding the new one)

alandipert11:12:30

@nha: https://github.com/adzerk-oss/boot-template/blob/master/src/adzerk/boot_template.clj might be helpful to refer to, it creates and adds new files to the fileset

nha14:12:42

Ah I have to have a closer look at the template then, thanks simple_smile

martinklepsch16:12:42

@nha: Is that 10% on top of Closure advanced compiled JS?

juhoteperi16:12:01

@nha: You should also check the filesize after gzip with and without uglify. It's possible that Closure compressed code will compress better with gzip.

martinklepsch17:12:37

anyone using prone with boot? https://github.com/magnars/prone seems to break when no project.clj is present?

jaen17:12:01

I used it with boot and it worked, but I have a generated project.clj for Cursive, so maybe that's why it did.

nha21:12:06

@martinklepsch @juhoteperi Yes with optimisations, I tested with gzipping (though that was some time ago - personal project moves slowly). I should probably retest, but I want to learn to make a plugin anyway.

timgilbert23:12:59

Anyone want to update the homebrew recipe for boot to 2.5? (Will try a PR tomorrow if not)

micha23:12:25

@timgilbert: there isn't a new version of the boot binary yet

micha23:12:06

i want to release one soon, but wanted to let the dust settle from the 2.5.0 release and make sure all the bugs are found and fixed before doing that

seancorfield23:12:13

Not that it will affect anyone here but I thought it might get a smile: https://github.com/framework-one/fw1/issues/414

micha23:12:34

the existing binary will work fine with any version of boot from 2.0.0 to infinity

seancorfield23:12:57

FW/1 is a CFML MVC framework that has a module that lets you use services (and controllers) written in Clojure alongside CFML code. We use it very heavily at World Singles. Because legacy code base.

seancorfield23:12:18

Previously the Clojure support was via Leiningen, now it supports both Leiningen and Boot.

timgilbert23:12:28

Cool, thanks for the info @micah

micha23:12:25

@timgilbert: the changes to the boot binary for the next release are only cosmetic, like changing the name of the main class from boot.Loader to boot.Boot, so it will show up in the OSX process manager as Boot, things like that

timgilbert23:12:40

Gotcha. I hadn't realized it self-downloads most of its code before.

micha23:12:12

you can do boot -u anytime to update to latest stable release