2020-05-04 11:23:35 -04:00
|
|
|
# Determine this makefile's path.
|
|
|
|
|
# Be sure to place this BEFORE `include` directives, if any.
|
|
|
|
|
THIS_FILE := $(lastword $(MAKEFILE_LIST))
|
|
|
|
|
|
2020-08-07 12:55:02 -04:00
|
|
|
export API_GEN_BASEPATH := ${GEN_BASEPATH}/api
|
|
|
|
|
|
2020-05-04 11:23:35 -04:00
|
|
|
api:
|
2020-05-12 17:35:48 -07:00
|
|
|
go run .
|
2020-08-07 12:55:02 -04:00
|
|
|
goimports -w ${API_GEN_BASEPATH}
|
2021-01-21 16:27:20 -05:00
|
|
|
gofumpt -w ${API_GEN_BASEPATH}
|
2020-05-04 11:23:35 -04:00
|
|
|
|
|
|
|
|
.PHONY: api
|