Fork me on GitHub
#tools-deps
<
2020-09-27
>
borkdude11:09:26

Implementation of the above idea: https://github.com/borkdude/cpm

sogaiu12:09:26

@borkdude for linux, i changed the .cpm.edn file for babashka to be:

{:package/name org.babashka/babashka
 :package/description ""
 :package/version "0.2.1"
 :package/license ""
 :package/artifacts
 [{:os/name "Mac.*"
   :os/arch "x86_64"
   :artifact/url ""
   :artifact/executables ["bb"]}
  {:os/name "Linux.*"
   :os/arch "amd64"
   :artifact/url ""
   :artifact/executables ["bb"]}]}
then i was able to follow your readme.

borkdude12:09:14

PR welcome :)

sogaiu12:09:24

lol, ok, i'll send one 🙂

borkdude12:09:03

I pushed an update to bb, now cpm is also executable using bb:

$ bb -cp src:test-resources -m cpm.main clj-kondo
/Users/borkdude/.cpm/packages/clj-kondo/clj-kondo/2020.09.09
which is fast :)

sogaiu12:09:05

indeed:

$ time bb -cp src:test-resources -m cpm.main clj-kondo
/home/user/.cpm/packages/clj-kondo/clj-kondo/2020.09.09

real	0m0.015s
user	0m0.009s
sys	0m0.006s

dominicm18:09:09

Void Linux has now updated to clj 697 😃