mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
[tooling] make
commands for building and formatting CI pipeline
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7051 GitOrigin-RevId: dca45b31608680bf57a2dd190171b2567e1fcb02
This commit is contained in:
parent
afa1e2fc02
commit
60ab8e2ae3
9
Makefile
9
Makefile
@ -8,8 +8,9 @@ help:
|
||||
@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/ci.mk
|
||||
include ./scripts/make/ghcid.mk
|
||||
include ./scripts/make/legacy-tests.mk
|
||||
include ./scripts/make/lint.mk
|
||||
include ./scripts/make/tests.mk
|
||||
include ./scripts/make/test-infrastructure.mk
|
||||
|
11
scripts/make/ci.mk
Normal file
11
scripts/make/ci.mk
Normal file
@ -0,0 +1,11 @@
|
||||
WORKSPACE ?= $(shell dirname $(shell pwd))/
|
||||
|
||||
.PHONY: pipeline-build
|
||||
## pipeline-build: check that the CI pipeline still builds
|
||||
pipeline-build:
|
||||
cd .buildkite/pipeline-gen && go build ./...
|
||||
|
||||
.PHONY: pipeline-format
|
||||
## pipeline-format: run go fmt on all the Go files in .buildkite
|
||||
pipeline-format:
|
||||
cd .buildkite && gofmt -l -w -s .
|
Loading…
Reference in New Issue
Block a user