.PHONY: bootstrap setup dev test lint fmt fmt-check check \
	frontend-viewport-test 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:
	@script/test

lint:
	@script/lint

fmt:
	@script/fmt

fmt-check:
	@script/fmt-check

check:
	@script/check

# Responsive-layout verification in a containerised browser. Kept out of
# check: it needs Docker and takes minutes, where make test has to stay
# under 20 seconds.
frontend-viewport-test:
	@script/frontend-viewport-test

docker:
	@script/docker

hooks:
	@script/install-precommit
