mirror of
https://github.com/casey/just.git
synced 2025-12-23 11:37:29 +00:00
Add submodule alias and dependency targets to grammar (#2877)
Some checks are pending
Some checks are pending
This commit is contained in:
parent
4287f43c12
commit
f5ffec5c74
1 changed files with 5 additions and 3 deletions
|
|
@ -55,7 +55,9 @@ item : alias
|
|||
eol : NEWLINE
|
||||
| COMMENT NEWLINE
|
||||
|
||||
alias : 'alias' NAME ':=' NAME eol
|
||||
alias : 'alias' NAME ':=' target eol
|
||||
|
||||
target : NAME ('::' NAME)*
|
||||
|
||||
assignment : NAME ':=' expression eol
|
||||
|
||||
|
|
@ -138,8 +140,8 @@ variadic : '*' parameter
|
|||
|
||||
dependencies : dependency* ('&&' dependency+)?
|
||||
|
||||
dependency : NAME
|
||||
| '(' NAME expression* ')'
|
||||
dependency : target
|
||||
| '(' target expression* ')'
|
||||
|
||||
body : INDENT line+ DEDENT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue