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 @@
+ + ## 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