-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
29 lines (22 loc) · 792 Bytes
/
mise.toml
File metadata and controls
29 lines (22 loc) · 792 Bytes
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
[tools]
rust = "1.93.0"
[env]
_.file = ".env"
[tasks.build]
description = "Build the GitHub backup tool"
run = "cargo build --release"
[tasks.run]
description = "Run the GitHub backup tool with the default configuration"
run = "cargo run --release -- --token $GITHUB_TOKEN --owner $OWNER"
[tasks.backup]
description = "Backup all repositories from a GitHub user"
run = "cargo run --release -- --token $GITHUB_TOKEN --owner {{arg(name='owner')}}"
[tasks.backup-org]
description = "Backup all repositories from a GitHub organization"
run = "cargo run --release -- --token $GITHUB_TOKEN --owner {{arg(name='org')}} --owner-type org"
[tasks.install-deps]
description = "Install Rust dependencies"
run = "cargo fetch"
[tasks.clean]
description = "Clean build artifacts"
run = "cargo clean"