Fork me on GitHub
#tools-deps
<
2021-08-19
>
dominicm07:08:36

@seancorfield I get the same error, even for clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.1.331"}' :as clj-new I'm on "1.10.3.933" (via -Sdescribe)

dominicm08:08:52

Looks like the void linux build is broken, it's missing tools.edn

Alex Miller (Clojure team)14:08:17

not sure who/where that's maintained but that is a relatively new part

Alex Miller (Clojure team)14:08:34

you can manually install it though by just creating the file at ~/.clojure/tools/tools.edn

seancorfield16:08:30

@U09LZR36F How did you install the 1.10.3.933 CLI?

dominicm20:08:44

@U064X3EF3 I maintain it! 🙂 It's fixed now.

dominicm20:08:50

It's not too difficult to maintain for anyone tbh. Anyone can send the prs if they're so inclined.

rickmoynihan09:08:24

I’ve just been playing around with some of the new -Ttools support… One thing that took me a while to figure out is how to get the help / introspection on tools working . Is there anyway that this invocation could be made easier somehow in the future, perhaps with some “easy” -H switch in the shell script that expands to the right invocation? i.e. going from these: $ clojure -A:deps -Tnew help/doc $ clojure -A:deps -Tnew help/dir To something like this: $clojure -Hnew doc $clojure -Hnew doc Or am I missing an easier way to do this sort of thing?

seancorfield16:08:20

The clj-new README provides that command: > As of Clojure CLI 1.10.3.933, you can get help about the functions available in clj-new:

clojure -A:deps -Tclj-new help/doc

đź‘Ť 3
seancorfield16:08:57

I should add it to the deps-new help tho'...

seancorfield16:08:00

(updated readme for deps-new)

đź’Ż 3
Alex Miller (Clojure team)12:08:11

Not an easier way for tools at the moment but this is certainly not a finished area

đź‘Ť 3
simongray13:08:48

I have a pretty standard src folder structure, but I have a certain subdirectory that I would like to be excluded from my root :paths (e.g. in this case src/dk/wordnet/prototypes) and added to the :extra-paths of an alias instead. Can this be accomplished without me having to change the layout of the source directory?

simongray14:08:11

Well that sucks

simongray14:08:40

Ok, I guess I will make a separate src dir for that code then

simongray14:08:45

Not too bad, just wanted to know if there was a less intrusive way to make the change