mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
king: more warnery
This commit is contained in:
parent
491034b4eb
commit
0567f24959
@ -64,6 +64,7 @@ library:
|
||||
- -fwarn-incomplete-patterns
|
||||
- -fwarn-unused-binds
|
||||
- -fwarn-unused-imports
|
||||
- -Wwarn
|
||||
- -O2
|
||||
|
||||
executables:
|
||||
|
@ -18,9 +18,7 @@ import qualified Control.Exception as E
|
||||
import qualified Control.Monad.Catch as C ()
|
||||
import qualified Data.Acquire.Internal as Act
|
||||
|
||||
import Control.Applicative (Applicative(..))
|
||||
import Control.Monad (ap, liftM)
|
||||
import Control.Monad.IO.Unlift (MonadIO(..), MonadUnliftIO, withRunInIO)
|
||||
import Control.Monad.IO.Unlift (MonadUnliftIO, withRunInIO)
|
||||
import Control.Monad.Reader
|
||||
import Data.Typeable (Typeable)
|
||||
|
||||
|
@ -6,9 +6,11 @@ license-file: LICENSE
|
||||
library:
|
||||
source-dirs: lib
|
||||
ghc-options:
|
||||
- -fwarn-incomplete-patterns
|
||||
- -fwarn-unused-binds
|
||||
- -fwarn-unused-imports
|
||||
- -Wall
|
||||
- -Werror
|
||||
- -Wno-type-defaults
|
||||
- -Wno-unused-matches
|
||||
- -Wno-name-shadowing
|
||||
- -O2
|
||||
|
||||
dependencies:
|
||||
|
@ -9,7 +9,7 @@ ghc-options:
|
||||
- -Wno-type-defaults
|
||||
- -Wno-unused-matches
|
||||
- -Wno-name-shadowing
|
||||
- -Wno-unused-do-bind
|
||||
- -Wno-unbanged-strict-patterns
|
||||
- -O2
|
||||
|
||||
library:
|
||||
|
@ -4,6 +4,9 @@
|
||||
-- combination with 'deriveNoun' which generates an unreachable pattern.
|
||||
{-# OPTIONS_GHC -Wno-overlapping-patterns #-}
|
||||
|
||||
-- Hack. See comment above instance ToNoun H.StdMethod
|
||||
{-# OPTIONS_GHC -Wno-orphans #-}
|
||||
|
||||
{-|
|
||||
Types used in both Events and Effects.
|
||||
-}
|
||||
|
@ -3,7 +3,6 @@ module Main where
|
||||
import Prelude
|
||||
|
||||
import Urbit.TermSize (liveTermSize)
|
||||
import System.IO (getLine)
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
|
@ -9,9 +9,12 @@ dependencies:
|
||||
- unix
|
||||
|
||||
ghc-options:
|
||||
- -fwarn-incomplete-patterns
|
||||
- -fwarn-unused-binds
|
||||
- -fwarn-unused-imports
|
||||
- -Wall
|
||||
- -Werror
|
||||
- -Wno-type-defaults
|
||||
- -Wno-unused-matches
|
||||
- -Wno-name-shadowing
|
||||
- -Wno-unused-do-bind
|
||||
- -O2
|
||||
|
||||
library:
|
||||
|
Loading…
Reference in New Issue
Block a user