mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
rename tools -> xtask
This commit is contained in:
parent
7b15c4f7ae
commit
5376c769f0
11 changed files with 15 additions and 22 deletions
|
@ -146,7 +146,7 @@ pub fn install_format_hook() -> Result<()> {
|
|||
"./.git/hooks/pre-commit"
|
||||
});
|
||||
if !result_path.exists() {
|
||||
run("cargo build --package ra_tools --bin pre-commit", ".")?;
|
||||
run("cargo build --package xtask --bin pre-commit", ".")?;
|
||||
if cfg!(windows) {
|
||||
fs::copy("./target/debug/pre-commit.exe", result_path)?;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue