Fork me on GitHub
#boot
<
2017-06-16
>
Tim16:06:41

can we set jvm opts in environment variables to overcome this boot limitation?

seancorfield17:06:40

@tmtwd Like BOOT_JVM_OPTIONS you mean?

seancorfield17:06:59

(not sure what “limitation” you’re referring to)

Tim17:06:52

stuff like -XX:+UseStringDeduplication

seancorfield21:06:47

tmtwd: again, I don’t understand what “limitation” you’re talking about… Boot lets you use the environment variable I mentioned so you can provide additional JVM options.

Tim21:06:29

yes, agreed. there is no limitation after further investigation

pandeiro19:06:51

Anyone know how to get boot to 'compile' HugSQL queries into functions prior to building an uberjar? Is that even possible?

flyboarder19:06:07

I have not yet done it, but a task could generate those for you using the HugSQL def-db-fns

pandeiro19:06:25

Oh beautiful 🙂 Let me look that up

flyboarder19:06:18

the thing is that it’s designed to do those things at runtime, but you can do it at buildtime and generate a namespace with the resulting functions

pandeiro19:06:07

Ah, it would have to generate a new namespace, not do it in place?

pandeiro19:06:20

(new namespace + write file + add to fileset)?

flyboarder19:06:30

it’s mentioned on the intro https://www.hugsql.org/ but as runtime use

flyboarder19:06:46

thats the best part of boot, you get an extra build layer to your clojure app, I use this to generate code

flyboarder19:06:24

Boot->meta tasks->tasks->meta app->app

flyboarder19:06:17

@pandeiro what I would do is use map-of-db-fns and then use the result of that as my list of forms for the generated namespace.

pandeiro19:06:04

@flyboarder Very cool, yeah, the flexibility is the #1 reason to use boot IMO

zane20:06:34

For adzerk.boot-cljs, is it possible to set externs via task-options! or do I have to do it in my .cljs.edn file?

richiardiandrea22:06:12

is there a way for the watch task to watch things that are external to the current project folder?

richiardiandrea22:06:37

I saw a manual trigger but I never investigated how to actually trigger it