.PHONY: test type dev

test:
	CI=true DOTENV_QUIET=true npx vitest run

type:
	pnpm typecheck

type-check-tests:
	pnpm tsc --noEmit -p tsconfig.test.json

format:
	pnpm format

dev:
	pnpm dev

# Next 16 con Webpack: V8 crashea (Trace/BPT trap) con el límite de data por
# defecto en adJ/OpenBSD, así que el build sube a 7G.
prod:
	sh -c 'ulimit -d 7340032 && pnpm build'
	./bin/start > prod.log 2>&1 &
