diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-09 12:44:58 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-09 12:44:58 +0000 |
commit | 3725276554fe63fdd9b63a10b86e794b3eb73158 (patch) | |
tree | 01de23f215e51459c67d2eb7f4bfb77d65afd1b7 /.cargo/config | |
parent | b9c17a6001aaf79e181a86218883fe96d9c95c09 (diff) | |
parent | cbce28a348ebb5db646cfc5cd3305c6bce80e915 (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/config | 13 |
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 |
3 | gen-syntax = "run --package tools -- gen-syntax" | 3 | gen-syntax = "run --package tools --bin tools -- gen-syntax" |
4 | gen-tests = "run --package tools -- gen-tests" | 4 | gen-tests = "run --package tools --bin tools -- gen-tests" |
5 | install-code = "run --package tools -- install-code" | 5 | install-code = "run --package tools --bin tools -- install-code" |
6 | format = "run --package tools -- format" | 6 | format = "run --package tools --bin tools -- format" |
7 | format-hook = "run --package tools --bin tools -- format-hook" | ||
7 | 8 | ||
8 | render-test = "run --package ra_cli -- render-test" | 9 | render-test = "run --package ra_cli -- render-test" |
9 | parse = "run --package ra_cli -- parse" | 10 | parse = "run --package ra_cli -- parse" |