diff options
author | Aleksey Kladov <[email protected]> | 2019-10-17 17:36:55 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-17 20:54:38 +0100 |
commit | 7b15c4f7ae95e2e855cb783871906fa7bf364c4c (patch) | |
tree | 20a69aaf3ad803a4ca689ec143e9cc0a5049d5ca /.cargo/config | |
parent | 65ab81e35868c09ac9c93cf1d53a607f5caede53 (diff) |
WIP: move to xtasks
Diffstat (limited to '.cargo/config')
-rw-r--r-- | .cargo/config | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/.cargo/config b/.cargo/config index 92a3acfd0..67d0d1885 100644 --- a/.cargo/config +++ b/.cargo/config | |||
@@ -1,23 +1,4 @@ | |||
1 | [alias] | 1 | [alias] |
2 | # Automatically generates the ast and syntax kinds files | 2 | xtask = "run --package xtask --bin xtask --" |
3 | gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax" | ||
4 | 3 | ||
5 | # Extracts the tests from | 4 | install-ra = "run --package xtask -- install" # for backwards compat |
6 | gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests" | ||
7 | |||
8 | # Installs the visual studio code extension | ||
9 | install-ra = "run --package ra_tools --bin ra_tools -- install-ra" | ||
10 | install-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. | ||
13 | format = "run --package ra_tools --bin ra_tools -- format" | ||
14 | format-hook = "run --package ra_tools --bin ra_tools -- format-hook" | ||
15 | |||
16 | # Run clippy | ||
17 | lint = "run --package ra_tools --bin ra_tools -- lint" | ||
18 | |||
19 | # Runs the fuzzing test suite (currently only parser) | ||
20 | fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests" | ||
21 | |||
22 | # Parse a file. This should be piped the file contents | ||
23 | parse = "run --package ra_cli -- parse" | ||