Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sed-replace CRLF files #9615

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
294 changes: 147 additions & 147 deletions Cabal-tests/tests/ParserTests/regressions/haddock-api-2.18.1-check.cabal
Original file line number Diff line number Diff line change
@@ -1,147 +1,147 @@
name: haddock-api
version: 2.18.1
synopsis: A documentation-generation tool for Haskell libraries
description: Haddock is a documentation-generation tool for Haskell
libraries
license: BSD3
license-file: LICENSE
author: Simon Marlow, David Waern
maintainer: Alex Biehl <alexbiehl@gmail.com>, Simon Hengel <sol@typeful.net>, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
homepage: http://www.haskell.org/haddock/
bug-reports: https://github.com/haskell/haddock/issues
copyright: (c) Simon Marlow, David Waern
category: Documentation
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
CHANGES.md
data-dir:
resources
data-files:
html/solarized.css
html/haddock-util.js
html/highlight.js
html/Classic.theme/haskell_icon.gif
html/Classic.theme/minus.gif
html/Classic.theme/plus.gif
html/Classic.theme/xhaddock.css
html/Ocean.std-theme/hslogo-16.png
html/Ocean.std-theme/minus.gif
html/Ocean.std-theme/ocean.css
html/Ocean.std-theme/plus.gif
html/Ocean.std-theme/synopsis.png
latex/haddock.sty
library
default-language: Haskell2010
-- this package typically supports only single major versions
build-depends: base ^>= 4.10.0
, Cabal ^>= 2.0.0
, ghc ^>= 8.2
, ghc-paths ^>= 0.1.0.9
, haddock-library == 1.4.4.*
, xhtml ^>= 3000.2.2
-- Versions for the dependencies below are transitively pinned by
-- the non-reinstallable `ghc` package and hence need no version
-- bounds
build-depends: array
, bytestring
, containers
, deepseq
, directory
, filepath
, ghc-boot
, transformers
hs-source-dirs: src
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
exposed-modules:
Documentation.Haddock
other-modules:
Haddock
Haddock.Interface
Haddock.Interface.Rename
Haddock.Interface.Create
Haddock.Interface.AttachInstances
Haddock.Interface.LexParseRn
Haddock.Interface.ParseModuleHeader
Haddock.Interface.Specialize
Haddock.Parser
Haddock.Utils
Haddock.Backends.Xhtml
Haddock.Backends.Xhtml.Decl
Haddock.Backends.Xhtml.DocMarkup
Haddock.Backends.Xhtml.Layout
Haddock.Backends.Xhtml.Names
Haddock.Backends.Xhtml.Themes
Haddock.Backends.Xhtml.Types
Haddock.Backends.Xhtml.Utils
Haddock.Backends.LaTeX
Haddock.Backends.HaddockDB
Haddock.Backends.Hoogle
Haddock.Backends.Hyperlinker
Haddock.Backends.Hyperlinker.Ast
Haddock.Backends.Hyperlinker.Parser
Haddock.Backends.Hyperlinker.Renderer
Haddock.Backends.Hyperlinker.Types
Haddock.Backends.Hyperlinker.Utils
Haddock.ModuleTree
Haddock.Types
Haddock.Doc
Haddock.Version
Haddock.InterfaceFile
Haddock.Options
Haddock.GhcUtils
Haddock.Syb
Haddock.Convert
Paths_haddock_api
autogen-modules:
Paths_haddock_api
test-suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Spec.hs
ghc-options: -Wall
hs-source-dirs:
test
, src
-- NB: We only use a small subset of lib:haddock-api here, which
-- explains why this component has a smaller build-depends set
other-modules:
Haddock.Backends.Hyperlinker.ParserSpec
Haddock.Backends.Hyperlinker.Parser
Haddock.Backends.Hyperlinker.Types
build-depends:
ghc ^>= 8.2
, hspec ^>= 2.4.4
, QuickCheck ^>= 2.10
-- Versions for the dependencies below are transitively pinned by
-- the non-reinstallable `ghc` package and hence need no version
-- bounds
build-depends:
base
, containers
build-tool-depends:
hspec-discover:hspec-discover ^>= 2.4.4
source-repository head
type: git
subdir: haddock-api
location: https://github.com/haskell/haddock.git
name: haddock-api
version: 2.18.1
synopsis: A documentation-generation tool for Haskell libraries
description: Haddock is a documentation-generation tool for Haskell
libraries
license: BSD3
license-file: LICENSE
author: Simon Marlow, David Waern
maintainer: Alex Biehl <alexbiehl@gmail.com>, Simon Hengel <sol@typeful.net>, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
homepage: http://www.haskell.org/haddock/
bug-reports: https://github.com/haskell/haddock/issues
copyright: (c) Simon Marlow, David Waern
category: Documentation
build-type: Simple
cabal-version: >= 1.10

extra-source-files:
CHANGES.md

data-dir:
resources
data-files:
html/solarized.css
html/haddock-util.js
html/highlight.js
html/Classic.theme/haskell_icon.gif
html/Classic.theme/minus.gif
html/Classic.theme/plus.gif
html/Classic.theme/xhaddock.css
html/Ocean.std-theme/hslogo-16.png
html/Ocean.std-theme/minus.gif
html/Ocean.std-theme/ocean.css
html/Ocean.std-theme/plus.gif
html/Ocean.std-theme/synopsis.png
latex/haddock.sty

library
default-language: Haskell2010

-- this package typically supports only single major versions
build-depends: base ^>= 4.10.0
, Cabal ^>= 2.0.0
, ghc ^>= 8.2
, ghc-paths ^>= 0.1.0.9
, haddock-library == 1.4.4.*
, xhtml ^>= 3000.2.2

-- Versions for the dependencies below are transitively pinned by
-- the non-reinstallable `ghc` package and hence need no version
-- bounds
build-depends: array
, bytestring
, containers
, deepseq
, directory
, filepath
, ghc-boot
, transformers

hs-source-dirs: src

ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances

exposed-modules:
Documentation.Haddock

other-modules:
Haddock
Haddock.Interface
Haddock.Interface.Rename
Haddock.Interface.Create
Haddock.Interface.AttachInstances
Haddock.Interface.LexParseRn
Haddock.Interface.ParseModuleHeader
Haddock.Interface.Specialize
Haddock.Parser
Haddock.Utils
Haddock.Backends.Xhtml
Haddock.Backends.Xhtml.Decl
Haddock.Backends.Xhtml.DocMarkup
Haddock.Backends.Xhtml.Layout
Haddock.Backends.Xhtml.Names
Haddock.Backends.Xhtml.Themes
Haddock.Backends.Xhtml.Types
Haddock.Backends.Xhtml.Utils
Haddock.Backends.LaTeX
Haddock.Backends.HaddockDB
Haddock.Backends.Hoogle
Haddock.Backends.Hyperlinker
Haddock.Backends.Hyperlinker.Ast
Haddock.Backends.Hyperlinker.Parser
Haddock.Backends.Hyperlinker.Renderer
Haddock.Backends.Hyperlinker.Types
Haddock.Backends.Hyperlinker.Utils
Haddock.ModuleTree
Haddock.Types
Haddock.Doc
Haddock.Version
Haddock.InterfaceFile
Haddock.Options
Haddock.GhcUtils
Haddock.Syb
Haddock.Convert
Paths_haddock_api

autogen-modules:
Paths_haddock_api

test-suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Spec.hs
ghc-options: -Wall

hs-source-dirs:
test
, src

-- NB: We only use a small subset of lib:haddock-api here, which
-- explains why this component has a smaller build-depends set
other-modules:
Haddock.Backends.Hyperlinker.ParserSpec
Haddock.Backends.Hyperlinker.Parser
Haddock.Backends.Hyperlinker.Types

build-depends:
ghc ^>= 8.2
, hspec ^>= 2.4.4
, QuickCheck ^>= 2.10

-- Versions for the dependencies below are transitively pinned by
-- the non-reinstallable `ghc` package and hence need no version
-- bounds
build-depends:
base
, containers

build-tool-depends:
hspec-discover:hspec-discover ^>= 2.4.4

source-repository head
type: git
subdir: haddock-api
location: https://github.com/haskell/haddock.git
50 changes: 25 additions & 25 deletions Cabal-tests/tests/ParserTests/regressions/issue-7776-a.cabal
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
cabal-version: 3.4
name: issue
version: 7776
build-type: Simple
synopsis: duplicate-module check
category: Test
description:
With duplicate modules guarded by exclusive conditions, it should be buildable but should show a warning.
It *could* be smart enough to don't show the warning but we have to teach it about
license: BSD-3-Clause
license-file: LICENSE
maintainer: Cabal Contributors
-- Example taken from ghc-source-gen
library
exposed-modules: Foo
if impl(ghc<8.10)
other-modules:
GHC.Hs.Type
hs-source-dirs:
compat
if impl(ghc>=8.10) && impl(ghc<9.0)
other-modules:
GHC.Hs.Type
hs-source-dirs:
cabal-version: 3.4
name: issue
version: 7776
build-type: Simple
synopsis: duplicate-module check
category: Test
description:
With duplicate modules guarded by exclusive conditions, it should be buildable but should show a warning.
It *could* be smart enough to don't show the warning but we have to teach it about
license: BSD-3-Clause
license-file: LICENSE
maintainer: Cabal Contributors

-- Example taken from ghc-source-gen
library
exposed-modules: Foo
if impl(ghc<8.10)
other-modules:
GHC.Hs.Type
hs-source-dirs:
compat
if impl(ghc>=8.10) && impl(ghc<9.0)
other-modules:
GHC.Hs.Type
hs-source-dirs:
compat-8.10
Loading
Loading