From d9d47f00628edb3b2a64150f7df1bbe0c3445545 Mon Sep 17 00:00:00 2001 From: Alexis King Date: Tue, 17 Sep 2019 00:00:42 -0500 Subject: [PATCH] =?UTF-8?q?server:=20Don=E2=80=99t=20allow=20warnings=20wh?= =?UTF-8?q?en=20building=20in=20CI=20(#2892)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/Makefile | 3 +-- server/src-lib/Hasura/RQL/Types/SchemaCache.hs | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/Makefile b/server/Makefile index 69216feddc3..e279061bdd4 100644 --- a/server/Makefile +++ b/server/Makefile @@ -54,10 +54,9 @@ release-image: $(project).cabal # assumes this is built in circleci ci-binary: mkdir -p packaging/build/rootfs - stack $(STACK_FLAGS) build $(BUILD_FLAGS) + stack $(STACK_FLAGS) build --ghc-options=-Werror $(BUILD_FLAGS) mkdir -p $(build_output) cp $(build_dir)/$(project)/$(project) $(build_output) -# cp "$(build_dir)/$(project)-test/$(project)-test" $(build_output) echo "$(VERSION)" > $(build_output)/version.txt # assumes this is built in circleci diff --git a/server/src-lib/Hasura/RQL/Types/SchemaCache.hs b/server/src-lib/Hasura/RQL/Types/SchemaCache.hs index 28d49a67bd3..61af54e77e5 100644 --- a/server/src-lib/Hasura/RQL/Types/SchemaCache.hs +++ b/server/src-lib/Hasura/RQL/Types/SchemaCache.hs @@ -16,6 +16,7 @@ module Hasura.RQL.Types.SchemaCache , TableInfo(..) , tiName + , tiDescription , tiSystemDefined , tiFieldInfoMap , tiRolePermInfoMap