mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-20 23:48:09 -05:00
Prepare for using cargo-release
This commit is contained in:
parent
177e2870c5
commit
ca41f9e2df
5 changed files with 26 additions and 4 deletions
7
.typos.toml
Normal file
7
.typos.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
[files]
|
||||
extend-exclude = [
|
||||
"CHANGELOG.md",
|
||||
]
|
||||
|
||||
[default.extend-words]
|
||||
"ratatui" = "ratatui"
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -679,7 +679,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rustlings"
|
||||
version = "6.0.0-beta.0"
|
||||
version = "6.0.0-alpha.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"assert_cmd",
|
||||
|
@ -698,7 +698,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rustlings-macros"
|
||||
version = "6.0.0-beta.0"
|
||||
version = "6.0.0-alpha.0"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"serde",
|
||||
|
|
|
@ -8,7 +8,7 @@ exclude = [
|
|||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "6.0.0-beta.0"
|
||||
version = "6.0.0-alpha.0"
|
||||
authors = [
|
||||
"Liv <mokou@fastmail.com>",
|
||||
"Mo Bitar <mo8it@proton.me>",
|
||||
|
@ -41,6 +41,7 @@ include = [
|
|||
"/info.toml",
|
||||
"/LICENSE",
|
||||
"/README.md",
|
||||
"/solutions/",
|
||||
"/src/",
|
||||
]
|
||||
|
||||
|
@ -52,7 +53,7 @@ hashbrown = "0.14.3"
|
|||
notify-debouncer-mini = "0.4.1"
|
||||
os_pipe = "1.1.5"
|
||||
ratatui = "0.26.2"
|
||||
rustlings-macros = { path = "rustlings-macros", version = "6.0.0-beta.0" }
|
||||
rustlings-macros = { path = "rustlings-macros", version = "=6.0.0-alpha.0" }
|
||||
serde.workspace = true
|
||||
toml_edit.workspace = true
|
||||
which = "6.0.1"
|
||||
|
@ -66,3 +67,6 @@ panic = "abort"
|
|||
|
||||
[profile.dev]
|
||||
panic = "abort"
|
||||
|
||||
[package.metadata.release]
|
||||
pre-release-hook = ["./release-hook.sh"]
|
||||
|
|
8
release-hook.sh
Executable file
8
release-hook.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Error out if any command fails
|
||||
set -e
|
||||
|
||||
typos
|
||||
cargo outdated -w --exit-code 1
|
||||
cargo test --workspace --all-targets
|
|
@ -14,3 +14,6 @@ proc-macro = true
|
|||
quote = "1.0.36"
|
||||
serde.workspace = true
|
||||
toml_edit.workspace = true
|
||||
|
||||
[package.metadata.release]
|
||||
verify = false
|
||||
|
|
Loading…
Reference in a new issue