casey / casey/just

Treat paths in submodule relative to directory of root `.justfile`

Open
#2,222 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

It'd be great to have an option to **treat all paths in a submodule relative to the directory containing the root `.justfile`**. I think I'd prefer a *per-module* flag for this instead of a global one.

This would allow me to let my submodules reside in other file locations (e.g. in a folder `.config/commands/`), while not having to issue a `cd {{justfile_directory()}}` or `cd ../../` at the beginning of every recipe.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.