aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-10-17 21:14:31 +0100
committerGitHub <[email protected]>2019-10-17 21:14:31 +0100
commit6b9bd7bdd2712a7e85d6bfc70c231dbe36c2e585 (patch)
tree890a88741ef83c5ca0a57006c1972d0870fd86a4 /.cargo
parent65ab81e35868c09ac9c93cf1d53a607f5caede53 (diff)
parent5376c769f0cb6076c4862e728af042bb563a5051 (diff)
Merge #2032
2032: rename tools -> xtask r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config23
1 files changed, 2 insertions, 21 deletions
diff --git a/.cargo/config b/.cargo/config
index 92a3acfd0..3812e1e2d 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,23 +1,4 @@
1[alias] 1[alias]
2# Automatically generates the ast and syntax kinds files 2xtask = "run --package xtask --bin xtask --"
3gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax"
4 3
5# Extracts the tests from 4install-ra = "run --package xtask --bin xtask -- install" # for backwards compat
6gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests"
7
8# Installs the visual studio code extension
9install-ra = "run --package ra_tools --bin ra_tools -- install-ra"
10install-code = "run --package ra_tools --bin ra_tools -- install-ra" # just an alias
11
12# Formats the full repository or installs the git hook to do it automatically.
13format = "run --package ra_tools --bin ra_tools -- format"
14format-hook = "run --package ra_tools --bin ra_tools -- format-hook"
15
16# Run clippy
17lint = "run --package ra_tools --bin ra_tools -- lint"
18
19# Runs the fuzzing test suite (currently only parser)
20fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests"
21
22# Parse a file. This should be piped the file contents
23parse = "run --package ra_cli -- parse"