Makefile 413 B

1234567891011121314151617181920212223
  1. .DEFAULT_GOAL := all
  2. .DELETE_ON_ERROR:
  3. .SUFFIXES:
  4. .PHONY: all
  5. all: deps build
  6. .PHONY: deps
  7. deps:
  8. -@echo "-> $@"
  9. @git submodule update --remote --init
  10. @go mod tidy
  11. .PHONY: build
  12. build:
  13. -@echo "-> $@"
  14. rover supergraph compose --config ./supergraph.yaml --output ./devops/prod-schema.graphql
  15. .PHONY: gen-json
  16. gen-json:
  17. -@echo "-> $@"
  18. -@echo "=== Generating easyJson bindings"
  19. easyjson model/page_info.go