Skip to content

Conversation

@damncabbage
Copy link
Contributor

… for cases where you might be using the justfile from outside the repo.

I happen to be calling just -f ~/code/encrypt-query-language/justfile reset for my benchmarking setup; I use .envrc for environment management, and actually cd-ing over there would mean I lose said environment setup.

(justfile_directory() has been part of Just since v0.94 or so, so it's safe to use.)

…here you might be using the justfile from outside the repo.
@damncabbage damncabbage requested a review from tobyhede October 30, 2024 03:08
Copy link
Contributor

@auxesis auxesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it, thanks @damncabbage.

@damncabbage damncabbage merged commit 9f45218 into main Oct 30, 2024
@damncabbage damncabbage deleted the rh/just-dirchange branch October 30, 2024 05:46
tobyhede pushed a commit that referenced this pull request Oct 27, 2025
Adds some cd-ing for safety in the justfile bash scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants