-
Notifications
You must be signed in to change notification settings - Fork 578
Closed
Description
Using just
1.16.0 Linux x86_64 build downloaded from https://github.com/casey/just/releases/tag/1.16.0
Minimal test justfile:
foo: a
echo 'Foo'
actual-recipe:
echo 'this recipe has an alias'
alias a := actual-recipe
Running just
just errors with -
$ just
error: Recipe `foo` has unknown dependency `a`
|
1 | foo: a
| ^
Same error still occurs when putting the aliased recipe and/or its alias before the recipe that depends on it.
Workaround: instead of using an alias, define it as another recipe:
foo: a
echo 'Foo'
actual-recipe:
echo 'this recipe has an alias'
a: actual-recipe
Is it possible to make this work with alias?
Metadata
Metadata
Assignees
Labels
No labels