.PHONY: docs serve: ./node_modules/.bin/nodemon --signal SIGTERM --watch '.' --ext go,js,css,html --exec 'go run . serve || exit 1' watch: ./node_modules/.bin/esbuild web/src/index.ts --bundle --watch --sourcemap --outfile=web/static/dist.js docs: cd docs && mdbook serve --open sample: go build && ./paisa init && ./paisa update && ./paisa serve publish: nix-shell --run 'cd docs && mdbook build' lint: ./node_modules/.bin/prettier --check web/src ./node_modules/.bin/eslint web/src --ext .js,.jsx,.ts,.tsx ./node_modules/.bin/tsc --project tsconfig.json --noEmit test -z $$(gofmt -l .)