chore(repo): clean root; move docs; keep areas for prompts
Some checks failed
CI / checks (push) Has been cancelled

This commit is contained in:
2025-09-11 07:05:00 -05:00
parent f204422943
commit cd9653c66a
13 changed files with 101 additions and 20 deletions

39
scripts/Makefile Normal file
View File

@@ -0,0 +1,39 @@
SHELL := /usr/bin/env bash
.PHONY: all check quick format lint build test security ci-image hooks-setup prompts prompts-check
all: check
check:
./scripts/ci all
quick:
./scripts/ci format && ./scripts/ci lint
format:
./scripts/ci format
lint:
./scripts/ci lint
build:
./scripts/ci build
test:
./scripts/ci test
security:
./scripts/ci security
ci-image:
docker build -f docker/ci.Dockerfile -t local/ci:latest .
hooks-setup:
./scripts/setup-hooks
prompts:
./scripts/prompts all
prompts-check:
./scripts/prompts lint

View File

@@ -6,5 +6,4 @@ MSG_FILE="${1:-.git/COMMIT_EDITMSG}"
# Run commitlint inside the CI container against the commit message file
docker compose -f docker/ci.compose.yml run --rm \
-e IN_CI_CONTAINER=1 \
ci bash -lc "commitlint --edit ${MSG_FILE}"
ci bash -lc "commitlint --config .config/commitlint.config.cjs --edit ${MSG_FILE}"