chore(repo): clean root and move docs
- Move docs to docs/; keep areas for prompts only - Relocate Makefile to scripts/Makefile; update docs to use it - Move ci.Dockerfile to docker/ci.Dockerfile; update compose - Move commitlint config to .config and update hook - Remove root AGENTS.md (use area AGENTS.md)
This commit is contained in:
39
scripts/Makefile
Normal file
39
scripts/Makefile
Normal 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
|
||||
|
Reference in New Issue
Block a user