-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: at this moment, we want the package to be located on Hackage, but it still fails to render documentation for packages using any build tools, see the [issue](haskell/hackage-server#821). Moreover, my HLS fails to build the project because of autoexporter as well. Solution: replace uses of `autoexporter` with manually written module lists.
- Loading branch information
1 parent
230e3f5
commit 32db065
Showing
9 changed files
with
40 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,6 @@ dependencies: | |
library: | ||
source-dirs: src | ||
|
||
build-tools: | ||
- autoexporter | ||
|
||
<<: *ghc-options | ||
|
||
executables: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
{-# OPTIONS_GHC -F -pgmF autoexporter -Wno-dodgy-exports -Wno-unused-imports #-} | ||
module Servant.Util.Beam.Postgres | ||
( module M | ||
) where | ||
|
||
import Servant.Util.Beam.Postgres.Filtering as M | ||
import Servant.Util.Beam.Postgres.Pagination as M | ||
import Servant.Util.Beam.Postgres.Sorting as M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,9 +40,6 @@ dependencies: | |
library: | ||
source-dirs: src | ||
|
||
build-tools: | ||
- autoexporter | ||
|
||
<<: *ghc-options | ||
|
||
executables: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
{-# OPTIONS_GHC -F -pgmF autoexporter -Wno-dodgy-exports -Wno-unused-imports #-} | ||
module Servant.Util.Combinators | ||
( module M | ||
) where | ||
|
||
import Servant.Util.Combinators.ErrorResponses as M | ||
import Servant.Util.Combinators.Filtering as M | ||
import Servant.Util.Combinators.Logging as M | ||
import Servant.Util.Combinators.Pagination as M | ||
import Servant.Util.Combinators.Sorting as M | ||
import Servant.Util.Combinators.Tag as M |
7 changes: 6 additions & 1 deletion
7
servant-util/src/Servant/Util/Combinators/Filtering/Filters.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
-- | Various filter types. | ||
{-# OPTIONS_GHC -F -pgmF autoexporter -Wno-dodgy-exports -Wno-unused-imports #-} | ||
module Servant.Util.Combinators.Filtering.Filters | ||
( module M | ||
) where | ||
|
||
import Servant.Util.Combinators.Filtering.Filters.General as M | ||
import Servant.Util.Combinators.Filtering.Filters.Like as M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
{-# OPTIONS_GHC -F -pgmF autoexporter -Wno-dodgy-exports -Wno-unused-imports #-} | ||
module Servant.Util.Common | ||
( module M | ||
) where | ||
|
||
import Servant.Util.Common.Common as M | ||
import Servant.Util.Common.HList as M | ||
import Servant.Util.Common.PolyKinds as M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
-- | Contains dummy backend implementations for introduced combinators. | ||
{-# OPTIONS_GHC -F -pgmF autoexporter -Wno-dodgy-exports -Wno-unused-imports #-} | ||
|
||
module Servant.Util.Dummy | ||
( module M | ||
) where | ||
|
||
import Servant.Util.Dummy.Filtering as M | ||
import Servant.Util.Dummy.Pagination as M | ||
import Servant.Util.Dummy.Sorting as M |