Skip to content

Commit

Permalink
Merge pull request #201 from azriel91/maintenance/release-0-0-14
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 authored Jan 17, 2025
2 parents 39b0621 + 7f91fb6 commit 17278be
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 40 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## unreleased
## 0.0.14 (2025-01-18)

* Move `Cli*` types to `peace_cli` crate under `cli::output` module. ([#182], [#189])
* Move `OutputFormat` and `OutputFormatParseError` to `peace_cli_model` crate. ([#182], [#189])
Expand Down
72 changes: 36 additions & 36 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ members = [
]

[workspace.package]
version = "0.0.13"
version = "0.0.14"
authors = ["Azriel Hoh <[email protected]>"]
edition = "2021"
homepage = "https://peace.mk"
Expand All @@ -119,45 +119,45 @@ license = "MIT OR Apache-2.0"

[workspace.dependencies]
# Peace crates.
peace = { path = ".", version = "0.0.13", default-features = false }
peace = { path = ".", version = "0.0.14", default-features = false }

peace_cfg = { path = "crate/cfg", version = "0.0.13" }
peace_cli = { path = "crate/cli", version = "0.0.13" }
peace_cli_model = { path = "crate/cli_model", version = "0.0.13" }
peace_cmd = { path = "crate/cmd", version = "0.0.13" }
peace_cmd_model = { path = "crate/cmd_model", version = "0.0.13" }
peace_cmd_rt = { path = "crate/cmd_rt", version = "0.0.13" }
peace_code_gen = { path = "crate/code_gen", version = "0.0.13" }
peace_core = { path = "crate/core", version = "0.0.13" }
peace_data = { path = "crate/data", version = "0.0.13" }
peace_data_derive = { path = "crate/data_derive", version = "0.0.13" }
peace_diff = { path = "crate/diff", version = "0.0.13" }
peace_flow_model = { path = "crate/flow_model", version = "0.0.13" }
peace_fmt = { path = "crate/fmt", version = "0.0.13" }
peace_params = { path = "crate/params", version = "0.0.13" }
peace_params_derive = { path = "crate/params_derive", version = "0.0.13" }
peace_item_model = { path = "crate/item_model", version = "0.0.13" }
peace_resource_rt = { path = "crate/resource_rt", version = "0.0.13" }
peace_rt = { path = "crate/rt", version = "0.0.13" }
peace_rt_model = { path = "crate/rt_model", version = "0.0.13" }
peace_rt_model_core = { path = "crate/rt_model_core", version = "0.0.13" }
peace_rt_model_hack = { path = "crate/rt_model_hack", version = "0.0.13" }
peace_rt_model_native = { path = "crate/rt_model_native", version = "0.0.13" }
peace_rt_model_web = { path = "crate/rt_model_web", version = "0.0.13" }
peace_static_check_macros = { path = "crate/static_check_macros", version = "0.0.13" }
peace_value_traits = { path = "crate/value_traits", version = "0.0.13" }
peace_webi = { path = "crate/webi", version = "0.0.13" }
peace_webi_components = { path = "crate/webi_components", version = "0.0.13" }
peace_webi_model = { path = "crate/webi_model", version = "0.0.13" }
peace_webi_output = { path = "crate/webi_output", version = "0.0.13" }
peace_cfg = { path = "crate/cfg", version = "0.0.14" }
peace_cli = { path = "crate/cli", version = "0.0.14" }
peace_cli_model = { path = "crate/cli_model", version = "0.0.14" }
peace_cmd = { path = "crate/cmd", version = "0.0.14" }
peace_cmd_model = { path = "crate/cmd_model", version = "0.0.14" }
peace_cmd_rt = { path = "crate/cmd_rt", version = "0.0.14" }
peace_code_gen = { path = "crate/code_gen", version = "0.0.14" }
peace_core = { path = "crate/core", version = "0.0.14" }
peace_data = { path = "crate/data", version = "0.0.14" }
peace_data_derive = { path = "crate/data_derive", version = "0.0.14" }
peace_diff = { path = "crate/diff", version = "0.0.14" }
peace_flow_model = { path = "crate/flow_model", version = "0.0.14" }
peace_fmt = { path = "crate/fmt", version = "0.0.14" }
peace_params = { path = "crate/params", version = "0.0.14" }
peace_params_derive = { path = "crate/params_derive", version = "0.0.14" }
peace_item_model = { path = "crate/item_model", version = "0.0.14" }
peace_resource_rt = { path = "crate/resource_rt", version = "0.0.14" }
peace_rt = { path = "crate/rt", version = "0.0.14" }
peace_rt_model = { path = "crate/rt_model", version = "0.0.14" }
peace_rt_model_core = { path = "crate/rt_model_core", version = "0.0.14" }
peace_rt_model_hack = { path = "crate/rt_model_hack", version = "0.0.14" }
peace_rt_model_native = { path = "crate/rt_model_native", version = "0.0.14" }
peace_rt_model_web = { path = "crate/rt_model_web", version = "0.0.14" }
peace_static_check_macros = { path = "crate/static_check_macros", version = "0.0.14" }
peace_value_traits = { path = "crate/value_traits", version = "0.0.14" }
peace_webi = { path = "crate/webi", version = "0.0.14" }
peace_webi_components = { path = "crate/webi_components", version = "0.0.14" }
peace_webi_model = { path = "crate/webi_model", version = "0.0.14" }
peace_webi_output = { path = "crate/webi_output", version = "0.0.14" }

# Item crates
peace_items = { path = "items", version = "0.0.13" }
peace_items = { path = "items", version = "0.0.14" }

peace_item_blank = { path = "items/blank", version = "0.0.13" }
peace_item_file_download = { path = "items/file_download", version = "0.0.13" }
peace_item_sh_cmd = { path = "items/sh_cmd", version = "0.0.13" }
peace_item_tar_x = { path = "items/tar_x", version = "0.0.13" }
peace_item_blank = { path = "items/blank", version = "0.0.14" }
peace_item_file_download = { path = "items/file_download", version = "0.0.14" }
peace_item_sh_cmd = { path = "items/sh_cmd", version = "0.0.14" }
peace_item_tar_x = { path = "items/tar_x", version = "0.0.14" }

# Dependencies used by framework and item crates.
#
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Collect coverage and open `html` report.
1. Update crate versions.

```bash
sd -s 'version = "0.0.13"' 'version = "0.0.14"' $(fd -tf -F toml) README.md src/lib.rs
sd -s 'version = "0.0.15"' 'version = "0.0.15"' $(fd -tf -F toml) README.md src/lib.rs

# Make sure only `peace` crates are updated.
git --no-pager diff | rg '^[+]' | rg -v '(peace)|(\+\+\+)|\+version'
Expand Down
26 changes: 26 additions & 0 deletions doc/src/learning_material/peace_zero_stress_automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,32 @@

<div class="hidden">

### Building `envman` in Nushell

```nu
# in $nu.config-path
# usually C:\Users\$env.USER\AppData\Roaming\nushell\config.nu
def envman_demo_prepare_release [] {
cargo envman_build_release
let envman_demo_dir = [$env.TEMP demo envman] | path join
if not ($envman_demo_dir | path exists) {
mkdir $envman_demo_dir
}
let envman_exe_path = [target release envman.exe] | path join
cp -f $envman_exe_path $envman_demo_dir
echo $"Copied ($envman_exe_path) to ($envman_demo_dir)"
let envman_pkg_dir = [target web envman pkg] | path join
cp -f --recursive $envman_pkg_dir $envman_demo_dir
}
# then
envman_demo_prepare_release
cd ([$env.TEMP demo envman] | path join)
```


### Notes

1. Heya everyone, my name is Azriel, and today I'll be showing you my automation side project, called Peace.
Expand Down
2 changes: 1 addition & 1 deletion examples/download/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "download"
version = "0.0.13"
version = "0.0.14"
authors = ["Azriel Hoh <[email protected]>"]
edition = "2021"
description = "Peace framework file download example"
Expand Down
2 changes: 1 addition & 1 deletion examples/envman/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "envman"
version = "0.0.13"
version = "0.0.14"
authors = ["Azriel Hoh <[email protected]>"]
edition = "2021"
description = "Peace framework web application lifecycle example"
Expand Down

0 comments on commit 17278be

Please sign in to comment.