chore: change file name to better reflect intention

This commit is contained in:
HerringtonDarkholme
2025-01-22 19:47:24 -05:00
committed by Herrington Darkholme
parent 9ee65fe6b1
commit 045653084c
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -152,7 +152,6 @@ __pycache__/
.Python
.venv/
env/
bin/
build/
develop-eggs/
dist/
+2 -2
View File
@@ -23,7 +23,7 @@ path = "src/main.rs"
[[bin]]
name = "sg"
path = "src/bin/ast-grep.rs"
path = "src/bin/alias.rs"
[dependencies]
ast-grep-core.workspace = true
@@ -58,4 +58,4 @@ tempfile = "3.10.1"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/app-{ target }{ archive-suffix }"
bin-dir = "app-{ target }/{ bin }{ binary-ext }"
disabled-strategies = ["quick-install"]
disabled-strategies = ["quick-install"]
@@ -1,4 +1,4 @@
// This command `sg` redirects everything to ast-grep
// The alias command `sg` redirects everything to ast-grep
// we need this to avoid "multiple build target" warning
// See https://github.com/rust-lang/cargo/issues/5930
fn main() -> std::io::Result<()> {