Compare commits

..

11 Commits

Author SHA1 Message Date
release-plz-for-ac-qu-ai-nt[bot]
13b7053386 chore: release 2024-10-05 07:02:30 +00:00
J / Jacob Babich
972129536f chore: change Hello, world! to What's up world? to allow me to cut a release 2024-10-05 03:01:41 -04:00
J / Jacob Babich
ae7de503a4 ci: try wrapping the if condition to make sure the release matches with ${{ and }} 2024-10-05 03:00:05 -04:00
J
21df8d1781 Merge pull request #9 from babichjacob/release-plz-2024-10-05T06-53-32Z
chore(ac-qu-ai-nt): release v0.0.6
2024-10-05 02:57:35 -04:00
release-plz-for-ac-qu-ai-nt[bot]
e5707cb106 chore: release 2024-10-05 06:55:34 +00:00
J / Jacob Babich
7f450568f2 fix: cover the new cases of Command for GuiEframe and TuiRatatui 2024-10-05 02:55:12 -04:00
J / Jacob Babich
e2bf39e2c1 chore: correctly add gui-eframe and tui-ratatui as features this time around 2024-10-05 02:53:03 -04:00
J / Jacob Babich
e96081486a chore: add gui-eframe and tui-ratatui as subcommands with aliases gui and tui respectively 2024-10-05 02:50:10 -04:00
J / Jacob Babich
63ffbf9f1a chore: add gui-eframe and tui-ratatui as features 2024-10-05 02:49:53 -04:00
J / Jacob Babich
65bdf6dd04 ci: try single quoting 2024-10-05 02:47:09 -04:00
J
43682dc3d3 Merge pull request #8 from babichjacob/release-plz-2024-10-05T06-40-33Z
chore(ac-qu-ai-nt): release v0.0.5
2024-10-05 02:43:56 -04:00
8 changed files with 46 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
compile-and-publish: compile-and-publish:
if: startsWith(github.event.release.tag_name, format("{0}-v", matrix.crate)) if: ${{ startsWith(github.event.release.tag_name, format('{0}-v', matrix.crate)) }}
strategy: strategy:
matrix: matrix:
crate: crate:

4
Cargo.lock generated
View File

@@ -4,7 +4,7 @@ version = 3
[[package]] [[package]]
name = "ac-qu-ai-nt" name = "ac-qu-ai-nt"
version = "0.0.5" version = "0.0.7"
dependencies = [ dependencies = [
"ac-qu-ai-nt-cli-clap", "ac-qu-ai-nt-cli-clap",
"clap", "clap",
@@ -14,7 +14,7 @@ dependencies = [
[[package]] [[package]]
name = "ac-qu-ai-nt-cli-clap" name = "ac-qu-ai-nt-cli-clap"
version = "0.0.4" version = "0.0.5"
dependencies = [ dependencies = [
"clap", "clap",
"tracing", "tracing",

View File

@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.0.5](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.4...ac-qu-ai-nt-cli-clap-v0.0.5) - 2024-10-05
### Other
- change `Hello, world!` to `What's up world?` to allow me to cut a release
## [0.0.4](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.3...ac-qu-ai-nt-cli-clap-v0.0.4) - 2024-09-30 ## [0.0.4](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.3...ac-qu-ai-nt-cli-clap-v0.0.4) - 2024-09-30
### Added ### Added

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "ac-qu-ai-nt-cli-clap" name = "ac-qu-ai-nt-cli-clap"
description = "A CLI (written with clap) for ac-qu-ai-nt" description = "A CLI (written with clap) for ac-qu-ai-nt"
version = "0.0.4" version = "0.0.5"
edition = "2021" edition = "2021"
rust-version = "1.76" rust-version = "1.76"

View File

@@ -1,4 +1,4 @@
pub fn main() { pub fn main() {
#[cfg(feature = "tracing")] #[cfg(feature = "tracing")]
tracing::info!("Hello, world!"); tracing::info!("What's up, world?");
} }

View File

@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.0.7](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.6...ac-qu-ai-nt-v0.0.7) - 2024-10-05
### Other
- updated the following local packages: ac-qu-ai-nt-cli-clap
## [0.0.6](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.5...ac-qu-ai-nt-v0.0.6) - 2024-10-05
### Fixed
- cover the new cases of `Command` for `GuiEframe` and `TuiRatatui`
### Other
- correctly add `gui-eframe` and `tui-ratatui` as features this time around
- add `gui-eframe` and `tui-ratatui` as subcommands with aliases `gui` and `tui` respectively
- add `gui-eframe` and `tui-ratatui` as features
## [0.0.5](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.4...ac-qu-ai-nt-v0.0.5) - 2024-10-05 ## [0.0.5](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.4...ac-qu-ai-nt-v0.0.5) - 2024-10-05
### Other ### Other

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "ac-qu-ai-nt" name = "ac-qu-ai-nt"
description = "A WIP project using AI to break down a user's query, acquire the knowledge to answer it, then transfer those insights to the user" description = "A WIP project using AI to break down a user's query, acquire the knowledge to answer it, then transfer those insights to the user"
version = "0.0.5" version = "0.0.7"
edition = "2021" edition = "2021"
rust-version = "1.76" rust-version = "1.76"
@@ -10,12 +10,16 @@ license = { workspace = true }
repository = { workspace = true } repository = { workspace = true }
[features] [features]
default = ["cli-clap", "tracing"] default = ["cli-clap", "gui-eframe", "tui-ratatui", "tracing"]
cli-clap = ["dep:ac-qu-ai-nt-cli-clap"] cli-clap = ["dep:ac-qu-ai-nt-cli-clap"]
gui-eframe = []
tui-ratatui = []
tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"] tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"]
[dependencies] [dependencies]
ac-qu-ai-nt-cli-clap = { version = "0.0.4", path = "../cli-clap", optional = true } ac-qu-ai-nt-cli-clap = { version = "0.0.5", path = "../cli-clap", optional = true }
clap = { workspace = true, features = ["derive", "env"] } clap = { workspace = true, features = ["derive", "env"] }
dirs-next = "2.0.0" dirs-next = "2.0.0"
tracing-subscriber = { version = "0.3.18", optional = true } tracing-subscriber = { version = "0.3.18", optional = true }

View File

@@ -20,6 +20,12 @@ enum Command {
#[cfg(feature = "cli-clap")] #[cfg(feature = "cli-clap")]
#[command(alias = "cli")] #[command(alias = "cli")]
CliClap, CliClap,
#[cfg(feature = "gui-eframe")]
#[command(alias = "gui")]
GuiEframe,
#[cfg(feature = "tui-ratatui")]
#[command(alias = "tui")]
TuiRatatui,
} }
fn main() { fn main() {
@@ -52,5 +58,9 @@ fn main() {
match command { match command {
#[cfg(feature = "cli-clap")] #[cfg(feature = "cli-clap")]
Command::CliClap => ac_qu_ai_nt_cli_clap::main(), Command::CliClap => ac_qu_ai_nt_cli_clap::main(),
#[cfg(feature = "gui-eframe")]
Command::GuiEframe => todo!(),
#[cfg(feature = "tui-ratatui")]
Command::TuiRatatui => todo!(),
} }
} }