graphql-engine/server/Makefile
Brandon Simmons 265470b08c ci: misc. cleanup, naming
GitOrigin-RevId: 253c326e0c873bfa875a13f1d44a605a5fa11476
2022-01-03 06:26:39 +00:00

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