Fork me on GitHub
#babashka
<
2020-06-03
>
plexus08:06:50

I'm getting this when using deps.clj on CI

java.io.FileNotFoundException: "$CLOJURE_INSTALL_DIR"/example-deps.edn (No such file or directory) [at /home/runner/work/lambdaisland-app/lambdaisland-app/.store/deps.clj, line 350, column 11]

plexus08:06:06

any ideas about the cause or solution?

borkdude08:06:16

@plexus hmm, I'll have a look

borkdude08:06:53

@plexus Are you perhaps using CLJ_CONFIG?

borkdude08:06:27

@plexus I pushed a fix to master. What happens is that deps.clj tries to find your clojure if it's installed and derive the location of example-deps.edn from that and copies it to your CLJ_CONFIG dir. But this detection is a bit brittle, so I now introduced an extra check before copying that file.

borkdude09:06:14

the example-deps.edn might not be terribly important, this was just something that was ported from the clojure bash script

plexus09:06:24

Thanks! Ill try out out

borkdude20:06:32

Asciidoc edit, compile, render, refresh cycle script: https://github.com/babashka/book/blob/master/script/watch.clj Uses pod-babashka-filewatcher and pod-babashka-etaoin

❤️ 16
dominicm20:06:41

Oh man, I was hoping for a adoc-pod using asciidoctorj

borkdude20:06:00

No need given you can just call out to the asciidoctor CLI?

borkdude20:06:36

the watch functionality could also have been implemented using http://eradman.com/entrproject/

dominicm20:06:52

Yeah but then I need ruby, and then I update and the gem doesn't work anymore 🤕 I stopped using their cli because I can't into ruby

borkdude20:06:21

@dominicm how would a pod solve this problem? maybe docker is a better solution for that

telekid22:06:26

Any interest in adding rewrite-clj to babashka? It would be amazing to be able to use babashka to write up little codemod scripts…

jkrasnay23:06:27

It embeds JRuby. Not sure how GraalVM would like that.

jkrasnay23:06:02

Oh, I see that’s what you were referring to 😊