From 329579484197b3cf1b294e8b8a75df27172e0a67 Mon Sep 17 00:00:00 2001 From: Urmzd Mukhammadnaim Date: Sun, 29 Mar 2026 23:01:52 -0500 Subject: [PATCH] chore: lowercase justfile with expanded recipes and add crates.io badge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename Justfile → justfile for consistency, add init/lint/check-fmt/check/ci recipes, and add crates.io version badge to README. --- Justfile | 15 --------------- README.md | 4 ++++ justfile | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 15 deletions(-) delete mode 100644 Justfile create mode 100644 justfile diff --git a/Justfile b/Justfile deleted file mode 100644 index 7750099..0000000 --- a/Justfile +++ /dev/null @@ -1,15 +0,0 @@ -# Build all crates -build: - cargo build --workspace - -# Install the CLI binary -install: - cargo install --path crates/llmem-cli - -# Run all tests -test: - cargo test --workspace - -# Format all code -fmt: - cargo fmt --all diff --git a/README.md b/README.md index 919c0e6..4bf75d2 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@

+

+ crates.io +

+ ## Features - **Cognitive CLI** — commands named after memory processes: `memorize`, `remember`, `note`, `learn`, `consolidate`, `reflect`, `forget` diff --git a/justfile b/justfile new file mode 100644 index 0000000..1b7409e --- /dev/null +++ b/justfile @@ -0,0 +1,40 @@ +default: check + +# Initialize project +init: + rustup component add clippy rustfmt + sr init --merge 2>/dev/null || sr init + +# Build all crates +build: + cargo build --workspace + +# Install the CLI binary +install: + cargo install --path crates/llmem-cli + +# Run all tests +test: + cargo test --workspace + +# Run clippy linter +lint: + cargo clippy --workspace -- -D warnings + +# Format all code +fmt: + cargo fmt --all + +# Check formatting without modifying +check-fmt: + cargo fmt --all -- --check + +# Record showcase with teasr +record: + teasr showme + +# Quality gate: format + lint + test +check: check-fmt lint test + +# Full CI gate: format + lint + build + test +ci: check-fmt lint build test