aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-09 12:44:58 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-09 12:44:58 +0000
commit3725276554fe63fdd9b63a10b86e794b3eb73158 (patch)
tree01de23f215e51459c67d2eb7f4bfb77d65afd1b7 /.cargo/config
parentb9c17a6001aaf79e181a86218883fe96d9c95c09 (diff)
parentcbce28a348ebb5db646cfc5cd3305c6bce80e915 (diff)
Merge #271
271: Implement format hook r=matklad a=DJMcNab Tentatively: fixes #155. However, this does add all changes in staged files, which might not be desirable. However, I think we can't solve that without explicit support in rustfmt for it, so it should be fine. Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to '.cargo/config')
-rw-r--r--.cargo/config13
1 files changed, 7 insertions, 6 deletions
diff --git a/.cargo/config b/.cargo/config
index c0be661fd..c319d33f2 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,9 +1,10 @@
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 -- gen-syntax" 3gen-syntax = "run --package tools --bin tools -- gen-syntax"
4gen-tests = "run --package tools -- gen-tests" 4gen-tests = "run --package tools --bin tools -- gen-tests"
5install-code = "run --package tools -- install-code" 5install-code = "run --package tools --bin tools -- install-code"
6format = "run --package tools -- format" 6format = "run --package tools --bin tools -- format"
7format-hook = "run --package tools --bin tools -- format-hook"
7 8
8render-test = "run --package ra_cli -- render-test" 9render-test = "run --package ra_cli -- render-test"
9parse = "run --package ra_cli -- parse" 10parse = "run --package ra_cli -- parse"