Skip to content

Commit

Permalink
chore: update dist config (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra authored May 10, 2024
1 parent 44ae505 commit bac2b39
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions crates/cli_bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion crates/grit-pattern-matcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/grit-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bac2b39

Please sign in to comment.