From c7aba0dbaaf7889e2cc653bf203e4b046b9a5029 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 21 Aug 2015 06:34:09 +0200 Subject: Factor helper compilation into seperate module for testing --- CabalHelper/Types.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CabalHelper/Types.hs') diff --git a/CabalHelper/Types.hs b/CabalHelper/Types.hs index 771a83f..284f7e6 100644 --- a/CabalHelper/Types.hs +++ b/CabalHelper/Types.hs @@ -55,3 +55,13 @@ data ChPkgDb = ChPkgGlobal | ChPkgUser | ChPkgSpecific FilePath deriving (Eq, Ord, Read, Show, Generic) + +data Options = Options { + verbose :: Bool + , ghcProgram :: FilePath + , ghcPkgProgram :: FilePath + , cabalProgram :: FilePath +} + +defaultOptions :: Options +defaultOptions = Options False "ghc" "ghc-pkg" "cabal" -- cgit v1.2.3