Skip to content

Formatting fails when one justfile imports another #76

@DoctorDalek1963

Description

@DoctorDalek1963

If one justfile imports another, like import "../justfile", then copying the justfile we're editing to a temporary directory and running just --fmt --unstable doesn't work. This is the current approach taken by this project here.

Instead, we can run just --dump --justfile {filename}" with the full path to the file. This also allows for non-standard filenames like something_else.just.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions