#!/bin/sh # script/fmt: format the whole repo (writes): prettier over everything # it understands, then gofmt over the Go backend. set -eu ROOT="$(cd "$(dirname "$0")/.." && pwd -P)" main() { cd "$ROOT" "$ROOT/script/frontend-fmt" "$ROOT/backend/script/fmt" } main "$@"