Install josh binaries into a local directory#53
Conversation
|
Could this be in |
|
That would be this, right? I don't just want to hardcode it for Linux :P |
|
I was thinking this one https://docs.rs/dirs/latest/dirs/fn.executable_dir.html but maybe data dir is better since this needs a subdirectory. The same Or configurable via env would be fine, just preferably some way to avoid a new top-level directory in |
|
I wanted to avoid depending on a new dependency, only to find out that we already depend on |
|
Seeing as there was no additional feedback in the meantime, I'll merge this. |
This PR changes
josh-syncso that it installjoshbinaries into a.josh-sync/cargodirectory in the user's HOME directory, to avoid clashing with global Cargo installed binaries.It also shows the installation progress, to avoid a long duration without any output.
It still installs the commands globally on CI, to make more effective use of caching (via
rust-cache).Fixes: #50