2018-02-03 03:51:06 -06:00
|
|
|
[alias]
|
2018-10-04 15:43:58 -05:00
|
|
|
# Automatically generates the ast and syntax kinds files
|
2019-06-10 17:47:37 -05:00
|
|
|
gen-syntax = "run --package ra_tools --bin ra_tools -- gen-syntax"
|
2019-07-27 06:35:18 -05:00
|
|
|
|
2019-01-23 12:41:23 -06:00
|
|
|
# Extracts the tests from
|
2019-06-10 17:47:37 -05:00
|
|
|
gen-tests = "run --package ra_tools --bin ra_tools -- gen-tests"
|
2019-07-27 06:35:18 -05:00
|
|
|
|
2019-09-02 06:42:23 -05:00
|
|
|
build-website = "run --package website-gen"
|
|
|
|
|
2018-12-31 07:14:06 -06:00
|
|
|
# Installs the visual studio code extension
|
2019-07-27 06:35:18 -05:00
|
|
|
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 07:14:06 -06:00
|
|
|
# Formats the full repository or installs the git hook to do it automatically.
|
2019-06-10 17:47:37 -05:00
|
|
|
format = "run --package ra_tools --bin ra_tools -- format"
|
|
|
|
format-hook = "run --package ra_tools --bin ra_tools -- format-hook"
|
2019-07-27 06:35:18 -05:00
|
|
|
|
2019-06-03 08:43:06 -05:00
|
|
|
# Run clippy
|
2019-06-10 17:47:37 -05:00
|
|
|
lint = "run --package ra_tools --bin ra_tools -- lint"
|
2019-06-03 08:43:06 -05:00
|
|
|
|
2018-12-31 07:14:06 -06:00
|
|
|
# Runs the fuzzing test suite (currently only parser)
|
2019-06-10 17:47:37 -05:00
|
|
|
fuzz-tests = "run --package ra_tools --bin ra_tools -- fuzz-tests"
|
2018-07-30 14:17:33 -05:00
|
|
|
|
2018-12-31 07:14:06 -06:00
|
|
|
# Parse a file. This should be piped the file contents
|
|
|
|
parse = "run --package ra_cli -- parse"
|