mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
778b1bae2b
I intend to use the Make targets around starting and stopping backend databases in order to wrap the Python integration tests in targets. To that end, I have: 1. Factored out test infrastructure targets into _test-infrastructure.mk_. 2. Actually run the functions from _util.sh_; previously we were just running a bash script with no explicit commands. _util.sh_ must be `source`d and then you invoke the relevant function. 3. Run `docker-compose` through Nix if possible. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5136 GitOrigin-RevId: d7a01958045a82199c969ec3f88387d7d76d254b
15 lines
363 B
Makefile
15 lines
363 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/lint.mk
|
|
include ./scripts/make/test-infrastructure.mk
|
|
include ./scripts/make/tests.mk
|
|
include ./scripts/make/ghcid.mk
|