Skip to content

Commit

Permalink
Apply cabal-gild
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen committed Jul 9, 2024
1 parent ca45fef commit 150a72e
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 231 deletions.
51 changes: 28 additions & 23 deletions extract-hackage-info/extract-hackage-info.cabal
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
cabal-version: 2.4
name: extract-hackage-info
version: 0.0.0.0
maintainer: Thomas Bagrel <[email protected]>
author: Thomas Bagrel <[email protected]>
name: extract-hackage-info
version: 0.0.0.0
maintainer: Thomas Bagrel <[email protected]>
author: Thomas Bagrel <[email protected]>

executable extract-hackage-info
main-is: Main.hs
hs-source-dirs: src
other-modules: Hoogle
default-language: GHC2021
ghc-options: -O2 -Wall -rtsopts -Wunused-packages
build-depends:
Cabal-syntax >=3.12 && <3.13,
aeson >=2.2 && <3,
base >=4.12 && <5,
binary >=0.8 && <0.9,
bytestring >=0.10 && <0.13,
containers >=0.6 && <0.8,
directory >=1 && <2,
filepath >=1.2 && <1.6,
optparse-applicative >=0.14 && <0.19,
ormolu,
text >=2.1 && <3,
formatting >=7.1 && <7.3,
megaparsec >=9
main-is: Main.hs
hs-source-dirs: src
other-modules: Hoogle
default-language: GHC2021
ghc-options:
-O2
-Wall
-rtsopts
-Wunused-packages

build-depends:
Cabal-syntax >=3.12 && <3.13,
aeson >=2.2 && <3,
base >=4.12 && <5,
binary >=0.8 && <0.9,
bytestring >=0.10 && <0.13,
containers >=0.6 && <0.8,
directory >=1 && <2,
filepath >=1.2 && <1.6,
formatting >=7.1 && <7.3,
megaparsec >=9,
optparse-applicative >=0.14 && <0.19,
ormolu,
text >=2.1 && <3,
8 changes: 4 additions & 4 deletions fixity-tests/dummy.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cabal-version: 2.4
name: dummy
version: 0.0.0.0
license: BSD-3-Clause
cabal-version: 2.4
name: dummy
version: 0.0.0.0
license: BSD-3-Clause
45 changes: 24 additions & 21 deletions ormolu-live/ormolu-live.cabal
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
cabal-version: 3.0
name: ormolu-live
version: 0.0.0.0
maintainer: Alexander Esgen <[email protected]>
author: Alexander Esgen <[email protected]>
name: ormolu-live
version: 0.0.0.0
maintainer: Alexander Esgen <[email protected]>
author: Alexander Esgen <[email protected]>

executable ormolu-live
main-is: Main.hs
c-sources: cbits/init.c
hs-source-dirs: app
default-language: GHC2021
ghc-options:
-Wall -Wunused-packages -no-hs-main -optl-mexec-model=reactor
"-optl-Wl,--export=malloc,--export=mallocPtr,--export=free,--export=formatRaw"
main-is: Main.hs
c-sources: cbits/init.c
hs-source-dirs: app
default-language: GHC2021
ghc-options:
-Wall
-Wunused-packages
-no-hs-main
-optl-mexec-model=reactor
"-optl-Wl,--export=malloc,--export=mallocPtr,--export=free,--export=formatRaw"

build-depends:
base,
ormolu,
bytestring,
text,
containers,
aeson,
ghc-lib-parser,
Cabal-syntax,
deepseq
build-depends:
Cabal-syntax,
aeson,
base,
bytestring,
containers,
deepseq,
ghc-lib-parser,
ormolu,
text,
Loading

0 comments on commit 150a72e

Please sign in to comment.