-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJustfile
97 lines (72 loc) · 1.75 KB
/
Justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# View help text
@help *recipe:
./scripts/help.nu {{ recipe }}
# Check flake and run pre-commit hooks
@check *args:
./scripts/check.nu {{ args }}
# List dependencies (alias: `deps`)
@dependencies *args:
./scripts/dependencies.nu {{ args }}
alias deps := dependencies
# Manage environments
@environment *args:
./scripts/environment.nu {{ args }}
alias env := environment
# Search available `just` recipes
[no-cd]
[no-exit-message]
@find-recipe *search_term:
./scripts/find-recipe.nu {{ search_term }}
alias find := find-recipe
# View project history
[no-cd]
@history *args:
./scripts/history.nu {{ args }}
# View issues
@issue *args:
./scripts/issue.nu {{ args }}
# Create a new release
@release *preview:
./scripts/release.nu {{ preview }}
# View remote repository
@remote *web:
./scripts/remote.nu {{ web }}
# View repository analytics
@stats *help:
./scripts/stats.nu {{ help }}
# Run tests
@test *args:
./scripts/test.nu {{ args }}
# View the source code for a recipe
[no-cd]
@view-source *recipe:
./scripts/view-source.nu {{ recipe }}
alias src := view-source
mod rust "just/rust.just"
# alias for `rust add`
@add *args:
just rust add {{ args }}
# alias for `rust build`
@build *args:
just rust build {{ args }}
# alias for `rust clean`
@clean *args:
just rust clean {{ args }}
# alias for `rust clippy`
@clippy *args:
just rust clippy {{ args }}
# alias for `rust dev`
@dev *args:
just rust dev {{ args }}
# alias for `rust install`
@install *args:
just rust install {{ args }}
# alias for `rust remove`
@remove *args:
just rust remove {{ args }}
# alias for `rust run`
@run *args:
just rust run {{ args }}
# alias for `rust update`
@update *args:
just rust update {{ args }}