Fork me on GitHub
#clj-kondo
<
2020-05-02
>
Chase14:05:08

I'm curious on how folks update to these latest, greatest versions. Right now I delete the one in my /usr/local/bin, unzip the new one and place it in there. easy peasy but wondering if I've missed out on a simple one liner update thingy or something

borkdude15:05:13

All the options are documented here: https://github.com/borkdude/clj-kondo/blob/master/doc/install.md There is an install script as well.

Chase15:05:18

My method works just fine but it's like on ocd thing where I have to update to the latest one when I see you post something about clj-kondo or babashka

Chase15:05:16

Ahh, I missed that last line saying it will update if reran.

borkdude15:05:37

Yeah, it won't check for newer versions though, it will always just fetch the latest and replace

dominicm15:05:31

Feels like there's a babashka script in here somewhere...

dominicm15:05:53

I would suggest "Cronie" (which has nice granny connotations) but there's already a cron named that

dominicm15:05:28

Oh, apparently "crony" is the correct spelling anyway, which isn't taken :)

borkdude15:05:11

You could query the Github API for the newest version, compare that to the current version and update if necessary.

dominicm15:05:37

Cron would make it an automatic once a day update or something.

skykanin18:05:56

Might not be the right place to ask, but I'm having issues installing clj-kondo through Nix. For some reason it's trying to building graalvm 19.2.1 from scratch and failing. https://discourse.nixos.org/t/issue-building-graalvm-19-2-1-dependency-for-the-clj-kondo-package/6932

borkdude18:05:39

Yeah, sorry, I don't now anything about nixOS, but you could try to read through the issues and contact the person who made support for that

👍 4
skykanin20:05:41

yeah ok, the graalvm package is borked. Thanks anyways

borkdude20:05:34

you could try to upgrade to 19.3.1 which is what clj-kondo is using nowadays