.PHONY: bootstrap setup install test lint fmt fmt-check check docker hooks build clean dev

# 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

install:
	@yarn install

test:
	@script/test

lint:
	@script/lint

fmt:
	@script/fmt

fmt-check:
	@script/fmt-check

check:
	@script/check

docker:
	@script/docker

hooks:
	@script/install-precommit

build:
	@echo "Building extension..."
	@yarn run build 2>&1

clean:
	@rm -rf dist/

dev:
	@echo "Building in watch mode..."
	@yarn run build --watch 2>&1
