mirror of
https://github.com/ast-grep/ast-grep.git
synced 2026-05-06 06:06:46 -04:00
chore: change file name to better reflect intention
This commit is contained in:
committed by
Herrington Darkholme
parent
9ee65fe6b1
commit
045653084c
@@ -152,7 +152,6 @@ __pycache__/
|
||||
.Python
|
||||
.venv/
|
||||
env/
|
||||
bin/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
|
||||
@@ -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<()> {
|
||||
Reference in New Issue
Block a user