Skip to content

Commit

Permalink
build: update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Jun 17, 2024
1 parent 033c935 commit f556e94
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ rowan = "0.15.15"

which = "5.0.0"

mitex-spec = { version = "0.2.2", path = "crates/mitex-spec" }
mitex-glob = { version = "0.2.2", path = "crates/mitex-glob" }
mitex-lexer = { version = "0.2.2", path = "crates/mitex-lexer" }
mitex-parser = { version = "0.2.2", path = "crates/mitex-parser" }
mitex = { version = "0.2.2", path = "crates/mitex" }
mitex-spec-gen = { version = "0.2.2", path = "crates/mitex-spec-gen" }

clap = { version = "4.4", features = ["derive", "env", "unicode", "wrap_help"] }
clap_builder = { version = "4", features = ["string"] }
clap_complete = "4.4"
Expand Down
2 changes: 1 addition & 1 deletion crates/mitex-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mitex-spec.workspace = true
serde.workspace = true
serde_json.workspace = true

wasm-bindgen = { version = "0.2.74", optional = true }
wasm-bindgen = { version = "0.2.92", optional = true }
wasm-minimal-protocol = { git = "https://github.com/astrale-sharp/wasm-minimal-protocol", optional = true }

[features]
Expand Down
8 changes: 8 additions & 0 deletions scripts/publish.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cargo publish -p mitex-glob
cargo publish -p mitex-spec
cargo publish -p mitex-spec-gen
cargo publish -p mitex-lexer
cargo publish -p mitex-parser
cargo publish -p mitex
# cargo publish -p mitex-wasm
cargo publish -p mitex-cli

0 comments on commit f556e94

Please sign in to comment.