.PHONY: test build check browser-check

test:
	go test ./... -count=1

build:
	mkdir -p bin
	CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o bin/plugin-admin .

check: test
	node --check ui/app.js
	git diff --check

browser-check:
	./test/run-browser-check.sh
