initial commit

This commit is contained in:
xuu
2023-07-15 08:35:45 -06:00
commit 976ce36be2
26 changed files with 1272 additions and 0 deletions

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
export PATH:=$(shell go env GOPATH)/bin:$(PATH)
export EV_DATA=mem:
export EV_HTTP=:8080
export WEBFINGER_DOMAINS=localhost
.DEFAULT_GOAL := air
-include local.mk
air: gen
ifeq (, $(shell which air))
go install github.com/cosmtrek/air@latest
endif
air .
run:
go build . && ./tools
test:
go test -cover -race ./...
clean: