refactor: move graphql into individual services

This commit is contained in:
Jon Lundy committed 2022-08-19 12:29:57 -06:00
1 parent d06e0bac3e
commit 814c974e93
20 files changed
+633 -503

No files matched your search

+10 -3
View File
@@ -4,17 +4,24 @@ export EV_HTTP=:8080
export EV_TRACE_SAMPLE=always
-include local.mk
run: gen
air: gen
ifeq (, $(shell which air))
go install github.com/cosmtrek/air@latest
endif
air
run:
go run .
test:
go test -cover -race ./...
GQLDIR=api/gql_ev
GQLS=$(wildcard $(GQLDIR)/*.go) $(wildcard $(GQLDIR)/*.graphqls) gqlgen.yml
GQLS=gqlgen.yml
GQLS:=$(GQLS) $(wildcard api/gql_ev/*.go)
GQLS:=$(GQLS) $(wildcard pkg/*/*.graphqls)
GQLS:=$(GQLS) $(wildcard app/*/*.graphqls)
GQLS:=$(GQLS) $(wildcard app/*/*.go)
GQLSRC=internal/graph/generated/generated.go
gen: gql