Fork me on GitHub
#tools-deps
<
2021-07-23
>
jjttjj19:07:19

Is there a proper way to use the project root path in :paths? :paths ["."] used to work but now seems deprecated. This is useful for using scripts from gist

borkdude19:07:38

@jjttjj does :paths [""] work?

jjttjj19:07:27

Nope, same deprecated message

seancorfield19:07:30

:paths ["."] works just fine. In fact that's specifically what -T does behind the scenes.

jjttjj19:07:32

WARNING: Use of :paths external to the project has been deprecated, please remove: C:\my\project\.clojure\local

seancorfield19:07:58

@jjttjj You need to provide a bit more context and perhaps a repro example.

jjttjj19:07:00

Ah, sorry, disregard! I realize what this is. Coming from a setting in my root deps.edn not this one.

borkdude19:07:28

{:paths [""]} also worked for me

jjttjj19:07:45

Sorry about that, thanks for the help

seancorfield19:07:52

Hmm, never thought to try that... interesting...

borkdude19:07:09

it's probably better to use the dot though

3