forked from qltysh/qlty
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
37 lines (30 loc) · 897 Bytes
/
Makefile.toml
File metadata and controls
37 lines (30 loc) · 897 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
37
[tasks.default]
alias = "test"
[tasks.test]
command = "cargo"
args = [
"llvm-cov",
"--all-features",
"--lcov",
"--output-path",
"target/lcov.info",
"--",
"--include-ignored",
"${@}",
]
[tasks.create-bin-dir]
script = "mkdir -p ~/.qlty/bin"
[tasks.create-bin-dir.windows]
script = "if not exist %USERPROFILE%\\.qlty\\bin ( md %USERPROFILE%\\.qlty\\bin )"
[tasks.symlink-release]
dependencies = ["create-bin-dir"]
script = "ln -sf $PWD/target/release/qlty $HOME/.qlty/bin/qlty"
[tasks.symlink-release.windows]
dependencies = ["create-bin-dir"]
script = "copy /y %CD%\\target\\release\\qlty*.exe %USERPROFILE%\\.qlty\\bin"
[tasks.symlink-debug]
dependencies = ["create-bin-dir"]
script = "ln -sf $PWD/target/debug/qlty ~/.qlty/bin/qlty"
[tasks.symlink-debug.windows]
dependencies = ["create-bin-dir"]
script = "copy /y %CD%\\target\\debug\\qlty*.exe %USERPROFILE%\\.qlty\\bin"