From d1ea1b584fedc895dcaa1e6bcb1e84f0e9b8fe12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Fri, 15 Nov 2024 12:24:30 +0800 Subject: [PATCH] add cargo alias (#206) --- .cargo/config.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index ac2b23f..26988f1 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,9 @@ [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] + +[alias] +lint = "clippy -- -D warnings" +r = "run" +rr = "run --release" +b = "build" +br = "build --release"