chore: add apps from go.sour.is/ev
This commit is contained in:
15
Makefile
15
Makefile
@@ -20,5 +20,20 @@ run:
|
||||
test:
|
||||
go test -cover -race ./...
|
||||
|
||||
GQLS=gqlgen.yml
|
||||
GQLS:=$(GQLS) $(wildcard app/*/*.graphqls)
|
||||
GQLS:=$(GQLS) $(wildcard app/*/*.go)
|
||||
GQLSRC=internal/graph/generated/generated.go
|
||||
|
||||
clean:
|
||||
rm -f "$(GQLSRC)"
|
||||
gen: gql
|
||||
gql: $(GQLSRC)
|
||||
$(GQLSRC): $(GQLS)
|
||||
ifeq (, $(shell which gqlgen))
|
||||
go install github.com/99designs/gqlgen@latest
|
||||
endif
|
||||
gqlgen
|
||||
|
||||
clean:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user