diff --git a/Cargo.toml b/Cargo.toml index 8fe13798c..276bf270b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,5 +26,6 @@ exclude = [ version = "0.2.0" authors = ["Iuvo AI, Inc.", "Grit Contributors"] description = "GritQL is a query language for searching, linting, and modifying code." +repository = "https://github.com/getgrit/gritql/" homepage = "https://docs.grit.io/language/overview" documentation = "https://docs.grit.io/tutorials/gritql" diff --git a/crates/cli_bin/Cargo.toml b/crates/cli_bin/Cargo.toml index 27f59b26a..a08bfd9bc 100644 --- a/crates/cli_bin/Cargo.toml +++ b/crates/cli_bin/Cargo.toml @@ -8,6 +8,7 @@ homepage = "https://docs.grit.io/" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html authors.workspace = true documentation.workspace = true +repository.workspace = true license = "MIT" publish = false @@ -56,5 +57,16 @@ grit_tracing = [ docgen = ["marzano-cli/docgen"] [package.metadata.dist] +# this should be published by cargo-dist (needed because publish = false) +dist = true +# build flags for published builds default-features = false features = ["marzano-cli/grit_beta"] +# the npm package should have this name +npm-package = "launcher" +# the homebrew package should have this name +formula = "grit" + +[package.metadata.dist.bin-aliases] +# all installers should ensure marzano can also be run as "grit" +marzano = ["grit"] diff --git a/crates/grit-pattern-matcher/Cargo.toml b/crates/grit-pattern-matcher/Cargo.toml index c102d61c5..310035461 100644 --- a/crates/grit-pattern-matcher/Cargo.toml +++ b/crates/grit-pattern-matcher/Cargo.toml @@ -3,7 +3,7 @@ name = "grit-pattern-matcher" description = "Pattern definitions and core matching logic for GritQL" edition = "2021" keywords = ["gritql", "ast", "query", "language", "pl"] -repository = "https://github.com/getgrit/gritql/tree/main/crates/grit-pattern-matcher" +repository.workspace = true version.workspace = true authors.workspace = true documentation.workspace = true diff --git a/crates/grit-util/Cargo.toml b/crates/grit-util/Cargo.toml index 5826850bc..9dc08fd78 100644 --- a/crates/grit-util/Cargo.toml +++ b/crates/grit-util/Cargo.toml @@ -3,7 +3,7 @@ name = "grit-util" description = "Utility functions for GritQL and associated tools" edition = "2021" keywords = ["gritql", "grit", "util"] -repository = "https://github.com/getgrit/gritql/tree/main/crates/grit-util" +repository.workspace = true version.workspace = true authors.workspace = true documentation.workspace = true