turn of PackageImports in cabal file
This makes it easier to build eg benchmarks of individual modules. May be that most of these PackageImports are not really necessary, dunno.
This commit is contained in:
parent
51c528980c
commit
952664641a
12 changed files with 13 additions and 9 deletions
1
.ghci
1
.ghci
|
@ -1,4 +1,3 @@
|
||||||
:load Common
|
:load Common
|
||||||
:set -XLambdaCase
|
:set -XLambdaCase
|
||||||
:set -XPackageImports
|
|
||||||
:set -fno-warn-tabs
|
:set -fno-warn-tabs
|
||||||
|
|
2
Annex.hs
2
Annex.hs
|
@ -5,7 +5,7 @@
|
||||||
- Licensed under the GNU AGPL version 3 or higher.
|
- Licensed under the GNU AGPL version 3 or higher.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE GeneralizedNewtypeDeriving, BangPatterns #-}
|
{-# LANGUAGE GeneralizedNewtypeDeriving, BangPatterns, PackageImports #-}
|
||||||
|
|
||||||
module Annex (
|
module Annex (
|
||||||
Annex,
|
Annex,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- Licensed under the GNU AGPL version 3 or higher.
|
- Licensed under the GNU AGPL version 3 or higher.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings, PackageImports #-}
|
||||||
|
|
||||||
module Annex.View where
|
module Annex.View where
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
|
{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
|
||||||
|
{-# LANGUAGE PackageImports #-}
|
||||||
|
|
||||||
module Assistant.Monad (
|
module Assistant.Monad (
|
||||||
Assistant,
|
Assistant,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- Licensed under the GNU AGPL version 3 or higher.
|
- Licensed under the GNU AGPL version 3 or higher.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE BangPatterns, DeriveDataTypeable #-}
|
{-# LANGUAGE BangPatterns, DeriveDataTypeable, PackageImports #-}
|
||||||
|
|
||||||
module Command.Info where
|
module Command.Info where
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- Licensed under the GNU AGPL version 3 or higher.
|
- Licensed under the GNU AGPL version 3 or higher.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE RankNTypes, DeriveFunctor #-}
|
{-# LANGUAGE RankNTypes, DeriveFunctor, PackageImports #-}
|
||||||
|
|
||||||
module Command.TestRemote where
|
module Command.TestRemote where
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- Licensed under the GNU AGPL version 3 or higher.
|
- Licensed under the GNU AGPL version 3 or higher.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE FlexibleContexts, ScopedTypeVariables #-}
|
{-# LANGUAGE FlexibleContexts, ScopedTypeVariables, PackageImports #-}
|
||||||
|
|
||||||
module Remote.Helper.Encryptable (
|
module Remote.Helper.Encryptable (
|
||||||
EncryptionIsSetup,
|
EncryptionIsSetup,
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
- License: BSD-2-clause
|
- License: BSD-2-clause
|
||||||
-}
|
-}
|
||||||
|
|
||||||
|
{-# LANGUAGE PackageImports #-}
|
||||||
|
|
||||||
module Utility.AuthToken (
|
module Utility.AuthToken (
|
||||||
AuthToken,
|
AuthToken,
|
||||||
toAuthToken,
|
toAuthToken,
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
- License: BSD-2-clause
|
- License: BSD-2-clause
|
||||||
-}
|
-}
|
||||||
|
|
||||||
|
{-# LANGUAGE PackageImports #-}
|
||||||
|
|
||||||
module Utility.Base64 where
|
module Utility.Base64 where
|
||||||
|
|
||||||
import Utility.FileSystemEncoding
|
import Utility.FileSystemEncoding
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- License: BSD-2-clause
|
- License: BSD-2-clause
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE BangPatterns #-}
|
{-# LANGUAGE BangPatterns, PackageImports #-}
|
||||||
|
|
||||||
module Utility.Hash (
|
module Utility.Hash (
|
||||||
sha1,
|
sha1,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- License: BSD-2-clause
|
- License: BSD-2-clause
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes #-}
|
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes, PackageImports #-}
|
||||||
|
|
||||||
module Utility.WebApp (
|
module Utility.WebApp (
|
||||||
browserProc,
|
browserProc,
|
||||||
|
|
|
@ -383,7 +383,7 @@ Executable git-annex
|
||||||
CC-Options: -Wall
|
CC-Options: -Wall
|
||||||
GHC-Options: -Wall -fno-warn-tabs -Wincomplete-uni-patterns
|
GHC-Options: -Wall -fno-warn-tabs -Wincomplete-uni-patterns
|
||||||
Default-Language: Haskell2010
|
Default-Language: Haskell2010
|
||||||
Default-Extensions: PackageImports, LambdaCase
|
Default-Extensions: LambdaCase
|
||||||
Other-Extensions: TemplateHaskell
|
Other-Extensions: TemplateHaskell
|
||||||
-- Some things don't work with the non-threaded RTS.
|
-- Some things don't work with the non-threaded RTS.
|
||||||
GHC-Options: -threaded
|
GHC-Options: -threaded
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue