mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 02:35:32 +03:00
Rather than a homebrewed approach, we can use `make` to figure out when it's necessary to regenerate our venv. This Makefile will regenerate _requirements.txt_ from _requirements-top-level.txt_ when the latter is changed. It will also regenerate the venv when _requirements.txt_ is changed (i.e. changes are pulled, or it's regenerated as described above). `make` uses file/directory timestamps to figure out what to rebuild. This is probably more reliable than expecting people to update a version number whenever they change a file. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5152 GitOrigin-RevId: 24b27d49bf6c4ba1d57ac38ea38ae278216c6d66
16 lines
402 B
Makefile
16 lines
402 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/legacy-tests.mk
|
|
include ./scripts/make/ghcid.mk
|