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)
Speaking of HugSQL, how do people usually get their source SQL files into an uberjar for deployment?
@pandeiro theres nothing really special about deployment of HugSQL sql files. Just put them under resources or src, pass the path of the file to hugsql/def-db-fns
and you’re ready to go
@dotemacs Yeah my problem is that I have them in src
, and with my current uberjar task, those files don't make it into the uberjar
see the example app: https://github.com/layerware/hugsql/tree/master/examples/princess-bride
@dotemacs Do clojure source files (*.clj) end up in the uberjar file with lein
? (I'm using boot, and mine don't)
I thought it would depend on whether I was AOT'ing :all
or just the main namespace, but that doesn't seem to make a difference
But in dev, yeah, it works great with the query files in src
, because the files exist and are on the classpath
if you have :omit-source true
declaration for a particular profile, say for the :uberjar
, then the sources would be omitted
I do have the above declaration, but I’m also storing the files under resources
and not src