graphql-engine/server/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
691 B
Makefile
Raw Normal View History

SHELL := /bin/bash
VERSION ?= $(shell ../scripts/get-version.sh)
export VERSION
2018-06-27 16:11:32 +03:00
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
2018-07-10 13:01:02 +03:00
# 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) *
2018-06-27 16:11:32 +03:00
packager: packaging/packager.df
docker build -t '$(registry)/graphql-engine-packager:$(packager_ver)' -f packaging/packager.df ./packaging/
.PHONY: ci-build ci-docs packager