implement repo policies: Makefile, Dockerfile, CI, prettier, editorconfig, LICENSE
Some checks failed
check / check (push) Failing after 9s
Some checks failed
check / check (push) Failing after 9s
Add failure stories section to OPENCLAW_TRICKS.md covering 10 real production failures and fixes from the first three weeks of operation.
This commit is contained in:
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
.PHONY: fmt fmt-check lint test check hooks
|
||||
|
||||
fmt:
|
||||
npx prettier --write .
|
||||
|
||||
fmt-check:
|
||||
npx prettier --check .
|
||||
|
||||
lint:
|
||||
@echo "No linter configured for docs-only repo"
|
||||
|
||||
test:
|
||||
@echo "No tests for docs-only repo"
|
||||
|
||||
check: fmt-check
|
||||
@echo "All checks passed"
|
||||
|
||||
hooks:
|
||||
echo '#!/bin/sh\nmake check' > .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
|
||||
|
||||
docker:
|
||||
docker build .
|
||||
Reference in New Issue
Block a user