63c4d12448a380bf1a2e65a372e6c43505ec52b5
—
Adnan Maolood
2 years agoe99eddb
Makefile: Fix race condition
Generating the GraphQL API with gqlgen will fail if the loaders have not
been generated yet. Ensure that the loaders are always generated first.
@@ 5,7 5,8 @@ include ${SRHT_PATH}/Makefileall: api
api:
- cd api && go generate ./...
+ cd api && go generate ./loaders
+ cd api && go generate ./graph
cd api && go build
.PHONY: all api