os-rust/.cargo/config

24 lines
947 B
Text
Raw Normal View History

2018-02-03 12:51:06 +03:00
[alias]
2018-10-04 21:43:58 +01:00
# Automatically generates the ast and syntax kinds files
gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax"
2019-01-24 03:41:23 +09:00
# Extracts the tests from
gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests"
2018-12-31 13:14:06 +00:00
# Installs the visual studio code extension
install-ra = "run --package ra_tools --bin ra_tools -- install-ra"
install-code = "run --package ra_tools --bin ra_tools -- install-ra" # just an alias
2018-12-31 13:14:06 +00:00
# Formats the full repository or installs the git hook to do it automatically.
format = "run --package ra_tools --bin ra_tools -- format"
format-hook = "run --package ra_tools --bin ra_tools -- format-hook"
2019-06-03 09:43:06 -04:00
# Run clippy
lint = "run --package ra_tools --bin ra_tools -- lint"
2019-06-03 09:43:06 -04:00
2018-12-31 13:14:06 +00:00
# Runs the fuzzing test suite (currently only parser)
fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests"
2018-07-30 22:17:33 +03:00
2018-12-31 13:14:06 +00:00
# Parse a file. This should be piped the file contents
parse = "run --package ra_cli -- parse"