aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config12
1 files changed, 6 insertions, 6 deletions
diff --git a/.cargo/config b/.cargo/config
index 3ac2ce336..92a3acfd0 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,23 +1,23 @@
1[alias] 1[alias]
2# Automatically generates the ast and syntax kinds files 2# Automatically generates the ast and syntax kinds files
3gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax" 3gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax"
4
4# Extracts the tests from 5# Extracts the tests from
5gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests" 6gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests"
6# Installs ra_lsp_server 7
7install-lsp = "install --path crates/ra_lsp_server --force"
8# Installs ra_lsp_server with the jemalloc feature
9jinstall-lsp = "install --path crates/ra_lsp_server --force --features jemalloc"
10# Installs the visual studio code extension 8# Installs the visual studio code extension
11install-code = "run --package ra_tools --bin ra_tools -- install-code" 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. 12# Formats the full repository or installs the git hook to do it automatically.
13format = "run --package ra_tools --bin ra_tools -- format" 13format = "run --package ra_tools --bin ra_tools -- format"
14format-hook = "run --package ra_tools --bin ra_tools -- format-hook" 14format-hook = "run --package ra_tools --bin ra_tools -- format-hook"
15
15# Run clippy 16# Run clippy
16lint = "run --package ra_tools --bin ra_tools -- lint" 17lint = "run --package ra_tools --bin ra_tools -- lint"
17 18
18# Runs the fuzzing test suite (currently only parser) 19# Runs the fuzzing test suite (currently only parser)
19fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests" 20fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests"
20 21
21render-test = "run --package ra_cli -- render-test"
22# Parse a file. This should be piped the file contents 22# Parse a file. This should be piped the file contents
23parse = "run --package ra_cli -- parse" 23parse = "run --package ra_cli -- parse"