Fork me on GitHub
#boot
<
2017-01-04
>
richiardiandrea03:01:17

@adamfrey thanks, but I think the github repo is not ready for prime time yet 🙂

adamfrey03:01:23

no problem. I just noticed it

richiardiandrea03:01:38

What I mean is, Juho just copied it, and it probably will need a big refresh (I guess I'll go with the customary PRs are welcome!)

thegeez14:01:50

I want to add the .clj files from /src to my uberjar, how can I do that? something with sift?

martinklepsch14:01:15

@thegeez you could use :to-resource option of the sift task or just add src to :resource-paths

martinklepsch14:01:33

(stuff in :resource-paths is automatically included in uberjars)

thegeez14:01:29

(deftask uberjar
  "Build an uberjar"
  []
  (println "Building uberjar")
  (comp
   (sift :to-resource #{#"src"})
   (aot)
   (pom)
   (uber)
   (jar)
   (target)))

thegeez14:01:51

something like that or does the regex need src/* or something?

thegeez14:01:53

@martinklepsch the putting "src" in :resource-paths works, thanks!

martinklepsch14:01:29

@thegeez sift never see’s src/ but only what’s inside it

thegeez14:01:57

(sift :to-resource #{#""}) seems to do the trick as well

martinklepsch15:01:11

@thegeez right but that will include the entire fileset into resources, which may or may not be what you want

richiardiandrea20:01:46

I am quite happy with boot-figreload, the boot-cljsrepl` works smoothly too (maybe not synced with figwheel client, but I am not noticing that now)

Chris Bidler22:01:06

here’s a silly question - is there a way to pass a desired JS runtime to cljs-repl-env, in the same way you can tell the “bare metal” cljs-repl function to use Rhino or Node or browser?

clojuregeek23:01:05

is it just me, or is cljs 1000x easier/better with boot than lein? i am on part 2 of modern-cljs and.. it works...

pesterhazy23:01:38

👍 for modern-cljs, it's a great tutorial

richiardiandrea23:01:04

@clojuregeek and we have big surprises coming out soon 😄

clojuregeek23:01:53

oh it will drive me nuts now 😉

richiardiandrea23:01:17

@clojuregeek the tool starts with "f" 😄

clojuregeek23:01:38

ends with L ?

richiardiandrea23:01:53

ends with igwheel 😄

richiardiandrea23:01:46

juho is in the process of reviewing a PR for the new boot-figreload

yogidevbear23:01:50

Wow, modern-cljs looks awesome

yogidevbear23:01:40

Starred for later 😄