Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1823,6 +1823,18 @@ script:
directory, respectively, of the current `import` or `mod` source file when
called from within an import or submodule.

#### Module and Module Directory

- `module_file()` - Retrieves the path of the current module file.

- `module_directory()` - Retrieves the path of the parent directory of the
current module file.

`module_file()` and `module_directory()` behave the same as `justfile()` and
`justfile_directory()` in the root `justfile`, but will return the path and
directory, respectively, of the current `mod` source file when
called from within submodule.

#### Just Executable

- `just_executable()` - Absolute path to the `just` executable.
Expand Down