shake-ext-2.2.0.0: src/Development/Shake/Check.hs
{-# LANGUAGE TemplateHaskell #-}
-- | Functions in this module check for the presence of various build tools.
module Development.Shake.Check ( checkExecutable
-- * Helper functions for specific programs
, pandoc
, autoconf
, patsFilter
, ghc
, compleat
, cabal
-- * Types
, MBool
) where
import Control.Monad.IO.Class
import Development.Shake.TH
$(mkExecChecks ["compleat", "pandoc", "autoconf", "cabal", "ghc"])
patsFilter :: (MonadIO m) => m Bool
patsFilter = checkExecutable "pats-filter"