tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
borkdude 2020-09-27T11:54:26.061800Z

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

2020-09-27T12:10:26.063Z

@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 "<https://github.com/borkdude/babashka/releases/download/v0.2.1/babashka-0.2.1-macos-amd64.zip>"
   :artifact/executables ["bb"]}
  {:os/name "Linux.*"
   :os/arch "amd64"
   :artifact/url "<https://github.com/borkdude/babashka/releases/download/v0.2.1/babashka-0.2.1-linux-amd64.zip>"
   :artifact/executables ["bb"]}]}
then i was able to follow your readme.

borkdude 2020-09-27T12:11:14.063300Z

PR welcome :)

2020-09-27T12:11:24.063600Z

lol, ok, i'll send one 🙂

borkdude 2020-09-27T12:14:03.064100Z

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 :)

2020-09-27T12:21:05.064600Z

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

dominicm 2020-09-27T18:54:09.066500Z

Void Linux has now updated to clj 697 😃