diff options
| author | bors <bors@rust-lang.org> | 2021-06-25 09:22:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-25 09:22:04 +0000 |
| commit | a03dfb9eac984b496725cca55548983b5cf7e986 (patch) | |
| tree | 5674719c69bbd8d38d52efd4076b17701f862cca /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | b286b38a295d6d68361f463cdeaf7536b051ddb2 (diff) | |
| parent | 8e969cdcefefe6792537dac11855bc5f91904f0b (diff) | |
| download | rust-a03dfb9eac984b496725cca55548983b5cf7e986.tar.gz rust-a03dfb9eac984b496725cca55548983b5cf7e986.zip | |
Auto merge of #7361 - xFrednet:5394-expand-setup-command, r=flip1995
Added `cargo dev setup git-hook` and updated `cargo dev setup intellij` including a `remove` command This PR enables our dev tool to install a git hook that formats the code before each commit and also runs `update_lints` to make sure that everything is registered correctly. The script is located at `util/etc/pre-commit.sh`. I found it reasonable to locate it in the `util` folder and decided to add a `etc` in correlation to the main rust repo and to bring a bit of structure into it. * The hook can be installed via: `cargo dev setup git-hook` * And removed via: `cargo dev remove git-hook` cc: #5394 The refactoring of `src/ide_setup.rs` to `src/setup/intellij.rs` is an extra commit to simplify the review. --- Changes: * Added `cargo dev setup git-hook` for formatting before every commit * Added `cargo dev remove git-hook` to remove the hook again * Added `cargo dev remove intellij` to remove rustc source path dependencies * Changed `cargo dev ide_setup` to `cargo dev setup intellij` changelog: none This is only an internal change and therefore not worth an entry in the general change log. --- Tested on: * [x] Linux (by `@xFrednet)` * [ ] Windows (All used commands run inside the git bash, so it's very likely to work as well `@xFrednet)` * [ ] macOS
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
