Skip to content

Commit

Permalink
Merge pull request #88 from hsenag/master
Browse files Browse the repository at this point in the history
Get rid of custom Setup.hs files
  • Loading branch information
jwiegley authored Jul 13, 2019
2 parents edc2a21 + 5fc31ef commit 6520ffc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
8 changes: 2 additions & 6 deletions gitlib-cmdline/Setup.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
import Distribution.Simple
import Distribution.Simple.Program

main :: IO ()
main = defaultMainWithHooks simpleUserHooks
{ hookedPrograms = [ simpleProgram "git" ]}
import Distribution.Simple
main = defaultMain
2 changes: 1 addition & 1 deletion gitlib-cmdline/gitlib-cmdline.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License-file: LICENSE
License: MIT
Author: John Wiegley
Maintainer: [email protected]
Build-Type: Custom
Build-Type: Simple
Cabal-Version: >=1.10
Category: Git

Expand Down
8 changes: 2 additions & 6 deletions hlibgit2/Setup.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
import Distribution.Simple
import Distribution.Simple.Program

main :: IO ()
main = defaultMainWithHooks simpleUserHooks
{ hookedPrograms = [ simpleProgram "git" ]}
import Distribution.Simple
main = defaultMain
2 changes: 1 addition & 1 deletion hlibgit2/hlibgit2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License-file: LICENSE
License: MIT
Author: John Wiegley, Sakari Jokinen, Jacob Stanleyyeah,
Maintainer: [email protected]
Build-Type: Custom
Build-Type: Simple
Cabal-Version: >=1.10
Category: FFI

Expand Down

0 comments on commit 6520ffc

Please sign in to comment.