rename tools -> xtask

This commit is contained in:
Aleksey Kladov 2019-10-17 23:01:53 +03:00
parent 7b15c4f7ae
commit 5376c769f0
11 changed files with 15 additions and 22 deletions

View file

@ -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 {