From f61830d6768ecb0d2a9c5f4c80ed9c561c9daa6f Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Mon, 31 Dec 2018 13:14:06 +0000 Subject: Add a fuzzing subcommand --- .cargo/config | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to '.cargo/config') diff --git a/.cargo/config b/.cargo/config index c319d33f2..b9db30c96 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,10 +1,16 @@ [alias] # Automatically generates the ast and syntax kinds files -gen-syntax = "run --package tools --bin tools -- gen-syntax" -gen-tests = "run --package tools --bin tools -- gen-tests" +gen-syntax = "run --package tools --bin tools -- gen-syntax" +# Extracts the tests from +gen-tests = "run --package tools --bin tools -- gen-tests" +# Installs the visual studio code extension install-code = "run --package tools --bin tools -- install-code" -format = "run --package tools --bin tools -- format" -format-hook = "run --package tools --bin tools -- format-hook" +# Formats the full repository or installs the git hook to do it automatically. +format = "run --package tools --bin tools -- format" +format-hook = "run --package tools --bin tools -- format-hook" +# Runs the fuzzing test suite (currently only parser) +fuzz-tests = "run --package tools --bin tools -- fuzz-tests" -render-test = "run --package ra_cli -- render-test" -parse = "run --package ra_cli -- parse" +render-test = "run --package ra_cli -- render-test" +# Parse a file. This should be piped the file contents +parse = "run --package ra_cli -- parse" -- cgit v1.2.3