-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a quick switch page for current developers
- Loading branch information
1 parent
3010d21
commit 939b004
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Quick Switch to `denv`+`just` | ||
|
||
No frills, no explanations. | ||
|
||
If anything goes wrong, fall back to the more full getting | ||
started guides for [using](../using/getting-started.md) (for details on `denv`) | ||
or [developing](getting-started.md) (for details on `just`). | ||
|
||
This is targeted towards LDMX contributors who were present | ||
before the transition to `denv`+`just` so they already have | ||
a container runner present on their machine. | ||
|
||
```sh | ||
# install denv into ~/.local | ||
curl -s https://raw.githubusercontent.com/tomeichlersmith/denv/main/install | sh | ||
# install just into the same location | ||
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh |\ | ||
bash -s -- --to ~/.local/bin | ||
# add just tab completion to your ~/.bashrc | ||
printf '\neval "$(just --completions bash)"\n' >> ~/.bashrc | ||
``` | ||
|
||
The `denv` install script attempts to help you update your `~/.bashrc` | ||
so that `~/.local/bin` is in your `PATH` and discoverable by `bash` as | ||
a program, but you may need to update your `PATH` manually. |