scripts-to-rule-them-all (#10)
All checks were successful
check / check (push) Successful in 21s

Reviewed-on: #10
Co-authored-by: sneak <sneak@sneak.berlin>
Co-committed-by: sneak <sneak@sneak.berlin>
This commit was merged in pull request #10.
This commit is contained in:
2026-07-07 02:14:16 +02:00
committed by Jeffrey Paul
parent 247a3c33fd
commit e45bc578b2
17 changed files with 748 additions and 124 deletions

View File

@@ -1,21 +1,35 @@
.PHONY: dev test lint fmt fmt-check check docker
.PHONY: bootstrap setup dev test lint fmt fmt-check check docker hooks
# Standard targets are thin shims; the implementations live in script/
# per the scripts-to-rule-them-all pattern (see the Entrypoints section
# of README.md).
bootstrap:
@script/bootstrap
setup:
@script/setup
dev:
yarn dev
test:
timeout 30 yarn build
@script/test
lint:
yarn prettier --check .
@script/lint
fmt:
yarn prettier --write .
@script/fmt
fmt-check:
yarn prettier --check .
@script/fmt-check
check: test lint fmt-check
check:
@script/check
docker:
timeout 300 docker build -t netwatch .
@script/docker
hooks:
@script/install-precommit