555e282cc4
ci / changelog_check (push) Waiting to run
ci / check_changes (push) Waiting to run
ci / build_mem0 (3.10) (push) Blocked by required conditions
ci / build_mem0 (3.11) (push) Blocked by required conditions
ci / build_mem0 (3.12) (push) Blocked by required conditions
CLI Node CI / lint (push) Waiting to run
CLI Node CI / test (20) (push) Waiting to run
CLI Node CI / test (22) (push) Waiting to run
CLI Node CI / build (push) Waiting to run
CLI Python CI / lint (push) Waiting to run
CLI Python CI / test (3.10) (push) Waiting to run
CLI Python CI / test (3.11) (push) Waiting to run
CLI Python CI / test (3.12) (push) Waiting to run
CLI Python CI / build (push) Waiting to run
openclaw checks / lint (push) Waiting to run
openclaw checks / test (20) (push) Waiting to run
openclaw checks / test (22) (push) Waiting to run
openclaw checks / build (push) Waiting to run
opencode-plugin checks / build (push) Waiting to run
pi-agent-plugin checks / lint (push) Waiting to run
pi-agent-plugin checks / test (20) (push) Waiting to run
pi-agent-plugin checks / test (22) (push) Waiting to run
pi-agent-plugin checks / build (push) Waiting to run
TypeScript SDK CI / check_changes (push) Waiting to run
TypeScript SDK CI / changelog_check (push) Blocked by required conditions
TypeScript SDK CI / build_ts_sdk (20) (push) Blocked by required conditions
TypeScript SDK CI / build_ts_sdk (22) (push) Blocked by required conditions
TypeScript SDK CI / integration_ts_sdk (20) (push) Blocked by required conditions
TypeScript SDK CI / integration_ts_sdk (22) (push) Blocked by required conditions
44 lines
884 B
Makefile
44 lines
884 B
Makefile
VENV := .venv
|
|
PYTHON := $(VENV)/bin/python
|
|
PIP := $(VENV)/bin/pip
|
|
|
|
.PHONY: install dev lint format test build clean publish publish-test shell
|
|
|
|
$(VENV)/bin/activate:
|
|
python3 -m venv $(VENV)
|
|
$(PIP) install -U pip
|
|
|
|
install: $(VENV)/bin/activate
|
|
$(PIP) install -e .
|
|
|
|
dev: $(VENV)/bin/activate
|
|
$(PIP) install -e ".[dev]"
|
|
|
|
lint: dev
|
|
$(VENV)/bin/ruff check .
|
|
$(VENV)/bin/ruff format --check .
|
|
|
|
format: dev
|
|
$(VENV)/bin/ruff check --fix .
|
|
$(VENV)/bin/ruff format .
|
|
|
|
test: dev
|
|
$(VENV)/bin/pytest
|
|
|
|
build: clean $(VENV)/bin/activate
|
|
$(PIP) install hatch
|
|
$(VENV)/bin/hatch build
|
|
|
|
clean:
|
|
rm -rf dist/
|
|
|
|
publish: build
|
|
$(VENV)/bin/hatch publish
|
|
|
|
publish-test: build
|
|
$(VENV)/bin/hatch publish --repo test
|
|
|
|
shell: $(VENV)/bin/activate
|
|
@echo "Spawning a new shell with the virtual environment activated..."
|
|
@VIRTUAL_ENV=$(CURDIR)/$(VENV) PATH=$(CURDIR)/$(VENV)/bin:$$PATH exec $(SHELL)
|