Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
SHELL = /bin/bash.SHELLFLAGS = -o pipefail -c
.PHONY: helphelp: ## Print info about all commands @echo "Commands:" @echo @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}'
.PHONY: buildbuild: ## Build all executables go build ./cmd/handlr go build ./cmd/lexidex go build ./cmd/glot
.PHONY: allall: build
.PHONY: testtest: ## Run tests go test ./...
.PHONY: coverage-htmlcoverage-html: ## Generate test coverage report and open in browser go test ./... -coverpkg=./... -coverprofile=test-coverage.out go tool cover -html=test-coverage.out
.PHONY: lintlint: ## Verify code style and run static checks go vet ./... test -z $(gofmt -l ./...)
.PHONY: fmtfmt: ## Run syntax re-formatting (modify in place) go fmt ./...
.PHONY: checkcheck: ## Compile everything, checking syntax (does not output binaries) go build ./...
.PHONY: codegen-spacescodegen-spaces: ## Re-generate com.atproto.space.* API codegen for atspace package go run ./cmd/glot codegen --output-dir atspace/ lexicons/com/atproto/space/ go run ./cmd/glot codegen --output-dir atspace/ lexicons/com/atproto/simplespace/
.env: if [ ! -f ".env" ]; then cp example.dev.env .env; fi