aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-10-17 17:36:55 +0100
committerAleksey Kladov <[email protected]>2019-10-17 20:54:38 +0100
commit7b15c4f7ae95e2e855cb783871906fa7bf364c4c (patch)
tree20a69aaf3ad803a4ca689ec143e9cc0a5049d5ca /.cargo
parent65ab81e35868c09ac9c93cf1d53a607f5caede53 (diff)
WIP: move to xtasks
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..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 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 -- 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"