-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
36 lines (28 loc) · 785 Bytes
/
Makefile.toml
File metadata and controls
36 lines (28 loc) · 785 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
30
31
32
33
34
35
36
[tasks.lint]
command = "cargo"
args = ["clippy", "--fix", "--bin", "vimoxide"]
[tasks.lint-force]
command = "cargo"
args = ["clippy", "--fix", "--bin", "vimoxide", "--allow-dirty"]
[tasks.fmt]
command = "cargo"
args = ["fmt"]
# sanatize will make cargo fmt and cargo lint
[tasks.sanitize]
dependencies = ["fmt", "lint"]
[tasks.sanitize-force]
dependencies = ["fmt", "lint-force"]
[tasks.build-release]
command = "cargo"
args = ["build", "--release"]
[tasks.copy]
command = "cp"
args = ["./target/release/vimoxide", "./vimoxide"]
[tasks.release]
dependencies = ["build-release", "copy"]
[tasks.install]
description = "Build and run the installer"
script = [
"cargo build --release --manifest-path=installer/Cargo.toml",
"./installer/target/release/vimoxide-installer"
]