graphql-engine/Makefile
Samir Talwar 17855bf65a make: Add make targets for formatting and linting frontend code.
This adds linting and formatting of frontend code when running `make lint`, `make format`, or any of the variations.

I am adding this because I didn't know how to check the code and so I had to wait for CI to fail, which I found irritating.

In order to make this reasonable, I factored out `make` targets for building *frontend/node_modules*, so I could depend on them.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8463
GitOrigin-RevId: 71882ec90490efbf87d428d08eaec2ae849a0a36
2023-03-23 15:16:14 +00:00

21 lines
566 B
Makefile

SHELL := bash -e -u -o pipefail
# default target
.PHONY: help
## help: prints help message
help:
@echo "Usage:"
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
include ./scripts/make/build.mk
include ./scripts/make/ci.mk
include ./scripts/make/frontend.mk
include ./scripts/make/ghcid.mk
include ./scripts/make/legacy-tests.mk
include ./scripts/make/lint.mk
include ./scripts/make/metadata-api.mk
include ./scripts/make/repl.mk
include ./scripts/make/run.mk
include ./scripts/make/tests.mk
include ./scripts/make/test-infrastructure.mk