This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-16
Channels
- # aws-lambda (1)
- # bangalore-clj (2)
- # beginners (121)
- # boot (23)
- # cljs-dev (165)
- # cljsrn (8)
- # clojars (2)
- # clojure (164)
- # clojure-berlin (6)
- # clojure-chicago (3)
- # clojure-italy (5)
- # clojure-nl (1)
- # clojure-russia (4)
- # clojure-serbia (32)
- # clojure-sg (1)
- # clojure-spec (8)
- # clojure-uk (55)
- # clojurescript (94)
- # cursive (21)
- # datomic (30)
- # events (1)
- # hoplon (6)
- # jobs (1)
- # keechma (1)
- # liberator (2)
- # luminus (8)
- # off-topic (48)
- # om (12)
- # onyx (24)
- # parinfer (15)
- # pedestal (8)
- # re-frame (4)
- # sql (18)
- # test-check (31)
- # unrepl (70)
- # untangled (21)
@tmtwd Like BOOT_JVM_OPTIONS
you mean?
(not sure what “limitation” you’re referring to)
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.
Anyone know how to get boot to 'compile' HugSQL queries into functions prior to building an uberjar? Is that even possible?
@pandeiro totally!
I have not yet done it, but a task could generate those for you using the HugSQL def-db-fns
Thanks @flyboarder
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
it’s mentioned on the intro https://www.hugsql.org/ but as runtime use
thats the best part of boot, you get an extra build layer to your clojure app, I use this to generate code
Boot->meta tasks->tasks->meta app->app
@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.
@flyboarder Very cool, yeah, the flexibility is the #1 reason to use boot IMO
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?
is there a way for the watch task to watch things that are external to the current project folder?
I saw a manual trigger but I never investigated how to actually trigger it