Files
regorus/build.rs
Ming-Wei Shih c0972ad2ba Update license to MIT
Signed-off-by: Ming-Wei Shih <mishih@microsoft.com>
2023-02-09 19:40:35 +00:00

12 lines
343 B
Rust

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
use anyhow::Result;
fn main() -> Result<()> {
// Copy hooks to appropriate location so that git will run them.
std::fs::copy("./scripts/pre-commit", "./.git/hooks/pre-commit")?;
std::fs::copy("./scripts/pre-push", "./.git/hooks/pre-push")?;
Ok(())
}