Make no-warn-missing-methods a test-all flag.
This commit is contained in:
parent
48c2cc638a
commit
c60588ade1
16 changed files with 3 additions and 15 deletions
|
@ -17,7 +17,8 @@ set -o errexit
|
|||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
. "$DIR"/lib/common.sh
|
||||
|
||||
GHC_FLAGS="-Werror"
|
||||
# TODO: Remove missing-methods after https://github.com/bos/aeson/issues/290
|
||||
GHC_FLAGS="-Werror -fno-warn-missing-methods"
|
||||
|
||||
prepare_sandbox () {
|
||||
$CABAL sandbox init
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# OPTIONS_GHC -fcontext-stack=100 #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
|
||||
module Servant.ClientSpec where
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Proxy
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module Servant.DocsSpec where
|
||||
|
||||
import Control.Lens
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
|
||||
import Data.Aeson
|
||||
import Data.ByteString (ByteString)
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T1 where
|
||||
|
||||
import Data.Aeson
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T2 where
|
||||
|
||||
import Data.Aeson
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T3 where
|
||||
|
||||
import Control.Monad.Trans.Either
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T4 where
|
||||
|
||||
import Data.Aeson
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T5 where
|
||||
|
||||
import Control.Monad.IO.Class
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T8 where
|
||||
|
||||
import Control.Monad.Trans.Either
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
module T9 where
|
||||
|
||||
import Control.Applicative
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
import Data.Aeson
|
||||
import Data.Text
|
||||
import GHC.Generics
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
|
||||
import Data.Aeson
|
||||
import Data.Monoid
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
|
||||
|
||||
module Servant.API.ContentTypesSpec where
|
||||
|
||||
|
|
|
@ -11,4 +11,5 @@ packages:
|
|||
extra-deps:
|
||||
- engine-io-wai-1.0.2
|
||||
- attoparsec-0.13.0.1
|
||||
- aeson-0.10.0.0
|
||||
resolver: nightly-2015-07-24
|
||||
|
|
Loading…
Reference in a new issue