Skip to content

Commit

Permalink
Include executables for simpleUserHooks and autoconfUserHooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Dec 11, 2024
1 parent 59592b6 commit 70092bd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Cabal/Cabal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,17 @@ library
TypeOperators
TypeSynonymInstances
UndecidableInstances

executable Setup-simple
default-language: Haskell2010
main-is: src/setup_simple.hs
build-depends:
base,
Cabal

executable Setup-configure
default-language: Haskell2010
main-is: src/setup_configure.hs
build-depends:
base,
Cabal
4 changes: 4 additions & 0 deletions Cabal/src/setup_configure.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Distribution.Simple

main :: IO ()
main = defaultMainWithHooks autoconfUserHooks
4 changes: 4 additions & 0 deletions Cabal/src/setup_simple.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Distribution.Simple

main :: IO ()
main = defaultMain

0 comments on commit 70092bd

Please sign in to comment.