This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-08
Channels
- # admin-announcements (7)
- # aws (5)
- # beginners (37)
- # boot (39)
- # cider (4)
- # clara (2)
- # cljs-dev (32)
- # cljsjs (1)
- # cljsrn (12)
- # clojure (235)
- # clojure-austin (3)
- # clojure-belgium (7)
- # clojure-berlin (11)
- # clojure-dev (36)
- # clojure-france (10)
- # clojure-japan (10)
- # clojure-poland (2)
- # clojure-russia (39)
- # clojure-uk (4)
- # clojurescript (81)
- # code-reviews (9)
- # core-async (6)
- # core-logic (1)
- # datomic (32)
- # editors (7)
- # emacs (1)
- # hoplon (191)
- # jobs-discuss (14)
- # juxt (4)
- # lein-figwheel (4)
- # leiningen (3)
- # off-topic (7)
- # om (49)
- # onyx (34)
- # other-lisps (1)
- # overtone (11)
- # parinfer (1)
- # proton (5)
- # re-frame (11)
- # reagent (12)
- # spacemacs (2)
- # untangled (90)
- # yada (15)
I would like to deploy to S3 from the fileset I am building through my task chain, is there a way to achieve this with some known boot task? I saw boot-s3
but I see there is a bug with the fileset sync, what folks use?
another question, is boot serve
serving the last fileset/classpath, subfolders included?
ok thanks, it is weird because show -f
tells me that they are there
anyways I will investigate
@richiardiandrea: probably related to https://github.com/pandeiro/boot-http/issues/29
@nberger: it looks exactly the problem, for instance I don't main.out
...
@richiardiandrea: from the top of my head, I think a workaround is to add target
to the pipeline
And serve :dir target?
@richiardiandrea: sorry, I'm not sure about that but I think it worked just by adding target to the pipeline. I didn't pass any :dir to serve. And didn't have the chance to understand why it wasn't working :/
Hi there. Not a proper bug report, as I cannot reproduce it anymore, but we had an issue with AOTed classes in our uberjared project, after we renamed (to .cljc) and moved some source files around, that involved changing :resource-paths too. We then got a java.lang.ExceptionInInitializerError ... caused by .... No implementation of method: :do-reflect of protocol: #'clojure.reflect/Reflector found for class: clojure.reflect.JavaReflector
error. The fun part is that after deleting all cache files in ~/.boot
, everything works fine again.
@wagjo: that's really weird, but thanks for reporting - i think that's worth adding as a ticket to github if you have time, as a place to accumulate sightings at least
I finally finished the first release of boot-pack-source
so here goes the link https://github.com/Lambda-X/boot-pack-source/releases/tag/0.1.0
This takes the dependencies (either in input or in (get-env)
) and includes the source files in a custom folder (`cljs-src`, which is not a good default name, but can be of course customized)
I'm having an issue with my boot task that is supposed to watch for js / sass changes and write them to the target directory. This is the relevant part of the task:
(comp
(watch)
(speak)
(with-env
{:directories #{"sass"}}
(sass :sass-file "app.scss"
:output-dir "."
:line-numbers true
:source-maps true))
(reload :on-jsload 'app.main/init)
(cljs-repl :nrepl-opts {:port 5710})
(with-env cljs-env
(cljs :ids #{"app"} :optimizations :none))
(target :dir #{"target/dev"}))
when I change a sass file, it seems to only reload the javascript
@richiardiandrea: did you give the sync-bucket task a go?
@martinklepsch: I am trying as we speak 😄
@lucien.knechtli: do you have an explicit need for with-env
?
@lucien.knechtli: it's somewhat advanced / probably not very beginner friendly
@lucien.knechtli: I think the issue in this case is task order though. Try putting the reload task before the sass task.
are there issues with using it? I guess I could just have :directories #{"src" "resources" "sass"}
above
i'll try switching them
doesn't seem to have worked, it still reloads the js instead
@lucien.knechtli: try dropping the with-env stuff
@lucien.knechtli: I think actually that's probably it. I think with-env does not merge the filesets back together IIRC.
i'll give that a shot
@richiardiandrea: I like to think that I put a lot of thought into making it as versatile as possible so if you're not seeing how to achieve what you want let me know
@martinklepsch: a goal I would like to achieve is to gzip all the files > 500kb for instance...from what I saw confetti
can easily handle that
confetti doesn't have gzip task. There's boot-gzip
but that does not (yet) have a generic filter option for that kind of stuff: https://github.com/martinklepsch/boot-gzip
good, I can then use that to zip and then just add the right metadata to the TmpFile I pass to confetti
@richiardiandrea: fwiw, if you use confetti's create-site as well you can just use cloudfront with on-the-fly gzip compression
@martinklepsch: you are right
@juhoteperi: can I ask you if you can, of course when you have time, push a 2.6.0-SNAPSHOT
including the last merge with fixed :add-meta
?