mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 04:47:53 -04:00
Compare commits
7 Commits
ac-qu-ai-n
...
ac-qu-ai-n
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a41995bcbd | ||
![]() |
e29442d973 | ||
![]() |
e84af2ec17 | ||
![]() |
c156157a59 | ||
![]() |
40dc6916b6 | ||
![]() |
67bdde027e | ||
![]() |
6516921d64 |
34
.github/workflows/check-and-build-and-test.yml
vendored
Normal file
34
.github/workflows/check-and-build-and-test.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
name: Check, build, and test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-build-and-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 15
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Rust toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
- name: Install Nextest
|
||||||
|
uses: taiki-e/install-action@cargo-nextest
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
run: cargo check --verbose
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --verbose
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo nextest run
|
29
.github/workflows/compile-and-publish-binaries-to-release.yml
vendored
Normal file
29
.github/workflows/compile-and-publish-binaries-to-release.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: Compile and publish binaries whenever a new release is cut
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compile-and-publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 15
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Rust toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
- name: Build for release
|
||||||
|
run: cargo build --release --verbose
|
||||||
|
|
||||||
|
- uses: taiki-e/upload-rust-binary-action@v1
|
||||||
|
with:
|
||||||
|
bin: ac-qu-ai-nt
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -4,14 +4,14 @@ version = 3
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ac-qu-ai-nt"
|
name = "ac-qu-ai-nt"
|
||||||
version = "0.0.1"
|
version = "0.0.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ac-qu-ai-nt-cli-clap",
|
"ac-qu-ai-nt-cli-clap",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ac-qu-ai-nt-cli-clap"
|
name = "ac-qu-ai-nt-cli-clap"
|
||||||
version = "0.0.1"
|
version = "0.0.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
]
|
]
|
||||||
|
21
cli-clap/CHANGELOG.md
Normal file
21
cli-clap/CHANGELOG.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.2](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.1...ac-qu-ai-nt-cli-clap-v0.0.2) - 2024-09-25
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-cli-clap-v0.0.1) - 2024-09-24
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- add licenses and other required metadata to the crates
|
||||||
|
- initialize a Cargo workspace with a `cli-clap` and a `multibinary` package to align with how I want the project to work (wherein features can be turned off to optimize the resulting binary, and there are different interfaces (GUI vs TUI vs CLI vs just an API vs just a web app or any permutation of these) to choose from depending on the occasion)
|
@@ -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.1"
|
version = "0.0.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.76"
|
rust-version = "1.76"
|
||||||
|
|
||||||
|
21
multibinary/CHANGELOG.md
Normal file
21
multibinary/CHANGELOG.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.2](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.1...ac-qu-ai-nt-v0.0.2) - 2024-09-25
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-v0.0.1) - 2024-09-24
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- add licenses and other required metadata to the crates
|
||||||
|
- initialize a Cargo workspace with a `cli-clap` and a `multibinary` package to align with how I want the project to work (wherein features can be turned off to optimize the resulting binary, and there are different interfaces (GUI vs TUI vs CLI vs just an API vs just a web app or any permutation of these) to choose from depending on the occasion)
|
@@ -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.1"
|
version = "0.0.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.76"
|
rust-version = "1.76"
|
||||||
|
|
||||||
@@ -14,4 +14,4 @@ default = ["cli-clap"]
|
|||||||
cli-clap = ["dep:ac-qu-ai-nt-cli-clap"]
|
cli-clap = ["dep:ac-qu-ai-nt-cli-clap"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ac-qu-ai-nt-cli-clap = { version = "0.0.1", path = "../cli-clap", optional = true }
|
ac-qu-ai-nt-cli-clap = { version = "0.0.2", path = "../cli-clap", optional = true }
|
||||||
|
Reference in New Issue
Block a user