Skip to content

Commit aa09288

Browse files
committed
Just: introduce aliases
1 parent 8ba7efd commit aa09288

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

misc/just/forward.just

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,30 @@ import "lib.just"
55

66
_forward := tsx + ' "' + source_dir() + '/forward-command.ts"'
77

8+
alias t := test
9+
alias b := build
10+
alias g := generate
11+
alias gen := generate
12+
alias f := format
13+
alias l := lint
814

915
[no-cd, positional-arguments, no-exit-message]
10-
@test *ARGS=".":
16+
@test *ARGS:
1117
{{ _forward }} test "$@"
1218

1319

1420
[no-cd, positional-arguments, no-exit-message]
15-
@build *ARGS=".":
21+
@build *ARGS:
1622
{{ _forward }} build "$@"
1723

1824
[no-cd, positional-arguments, no-exit-message]
19-
@generate *ARGS=".":
25+
@generate *ARGS:
2026
{{ _forward }} generate "$@"
2127

2228
[no-cd, positional-arguments, no-exit-message]
23-
@lint *ARGS=".":
29+
@lint *ARGS:
2430
{{ _forward }} lint "$@"
2531

2632
[no-cd, positional-arguments, no-exit-message]
27-
@format *ARGS=".":
33+
@format *ARGS:
2834
{{ _forward }} format "$@"

0 commit comments

Comments
 (0)