mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
265470b08c
GitOrigin-RevId: 253c326e0c873bfa875a13f1d44a605a5fa11476
23 lines
691 B
Makefile
23 lines
691 B
Makefile
SHELL := /bin/bash
|
|
|
|
VERSION ?= $(shell ../scripts/get-version.sh)
|
|
export VERSION
|
|
|
|
registry := hasura
|
|
# This packager version is built using the packeger.df in the packaging folder:
|
|
# docker build -t "hasura/graphql-engine-packager:20210218" -f packager.df .
|
|
packager_ver := 20210218
|
|
docs_output := /build/_server_output/docs.tar.gz
|
|
|
|
# assumes this is built in circleci
|
|
ci-docs:
|
|
# build
|
|
cabal haddock
|
|
# copy
|
|
cd ../dist-newstyle/build/*/*/graphql-engine-*/**/doc/html/graphql-engine/ && tar czf $(docs_output) *
|
|
|
|
packager: packaging/packager.df
|
|
docker build -t '$(registry)/graphql-engine-packager:$(packager_ver)' -f packaging/packager.df ./packaging/
|
|
|
|
.PHONY: ci-build ci-docs packager
|