2 # Automatically generates the ast and syntax kinds files
3 gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax"
5 # Extracts the tests from
6 gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests"
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
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"
17 lint = "run --package ra_tools --bin ra_tools -- lint"
19 # Runs the fuzzing test suite (currently only parser)
20 fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests"
22 # Parse a file. This should be piped the file contents
23 parse = "run --package ra_cli -- parse"