20 lines
435 B
Makefile
20 lines
435 B
Makefile
SHELL := /bin/bash
|
|
.SHELLFLAGS := -euo pipefail -c
|
|
|
|
.PHONY: doctor setup verify
|
|
doctor:
|
|
@./tools/doctor.sh
|
|
setup:
|
|
@git submodule update --init --recursive
|
|
@npm ci
|
|
@npm --prefix web ci
|
|
verify:
|
|
@forge fmt --check
|
|
@forge clean
|
|
@npm_config_offline=true forge build --force
|
|
@npm_config_offline=true forge test --force
|
|
@npm --prefix web run lint
|
|
@npm --prefix web run typecheck
|
|
@npm --prefix web test
|
|
@npm --prefix web run build
|