From 7f9758314e0c4316c43e450b84435668d65d2485 Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Wed, 13 Jan 2016 17:06:20 +0100 Subject: [PATCH 1/2] Build mock example by default. So that CI reports errors. --- servant-mock/servant-mock.cabal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servant-mock/servant-mock.cabal b/servant-mock/servant-mock.cabal index 7d8589d0..af444527 100644 --- a/servant-mock/servant-mock.cabal +++ b/servant-mock/servant-mock.cabal @@ -18,8 +18,7 @@ cabal-version: >=1.10 flag example description: Build the example too - manual: True - default: False + default: True library exposed-modules: From 5a7fe7662911ebe0bfa2bfcd0c2fc27d0e8c7f3f Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Wed, 13 Jan 2016 17:32:57 +0100 Subject: [PATCH 2/2] Add polykinds to servant-mock --- servant-mock/src/Servant/Mock.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/servant-mock/src/Servant/Mock.hs b/servant-mock/src/Servant/Mock.hs index e4437fba..7d17dca5 100644 --- a/servant-mock/src/Servant/Mock.hs +++ b/servant-mock/src/Servant/Mock.hs @@ -3,6 +3,7 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE PolyKinds #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -fno-warn-orphans #-}