aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-31 13:16:09 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-31 13:16:09 +0000
commit700b334a28b73133a25416319475eafe3ec11f90 (patch)
treec37c3675eec2e0e789c8d82669640116da31f80f /.cargo/config
parenta3ee07ac149867d1d7b9c00a752d0c46c337a878 (diff)
parentf61830d6768ecb0d2a9c5f4c80ed9c561c9daa6f (diff)
Merge #393
393: Add a fuzzing subcommand r=matklad a=DJMcNab Part of https://github.com/rust-analyzer/rust-analyzer/issues/61#issuecomment-450641045. Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to '.cargo/config')
-rw-r--r--.cargo/config18
1 files changed, 12 insertions, 6 deletions
diff --git a/.cargo/config b/.cargo/config
index c319d33f2..b9db30c96 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,10 +1,16 @@
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 tools --bin tools -- gen-syntax" 3gen-syntax = "run --package tools --bin tools -- gen-syntax"
4gen-tests = "run --package tools --bin tools -- gen-tests" 4# Extracts the tests from
5gen-tests = "run --package tools --bin tools -- gen-tests"
6# Installs the visual studio code extension
5install-code = "run --package tools --bin tools -- install-code" 7install-code = "run --package tools --bin tools -- install-code"
6format = "run --package tools --bin tools -- format" 8# Formats the full repository or installs the git hook to do it automatically.
7format-hook = "run --package tools --bin tools -- format-hook" 9format = "run --package tools --bin tools -- format"
10format-hook = "run --package tools --bin tools -- format-hook"
11# Runs the fuzzing test suite (currently only parser)
12fuzz-tests = "run --package tools --bin tools -- fuzz-tests"
8 13
9render-test = "run --package ra_cli -- render-test" 14render-test = "run --package ra_cli -- render-test"
10parse = "run --package ra_cli -- parse" 15# Parse a file. This should be piped the file contents
16parse = "run --package ra_cli -- parse"