detectBuildTool :: ProjectRoot -> IO (Maybe BuildTool)
detectBuildTool root = detect
    [ glob root "stack*.yaml" ~~> Stack
    , glob root "stack*.cabal" ~~> Cabal
    ]
detectBuildTool :: ProjectRoot -> IO (Maybe BuildTool)
detectBuildTool root = detect
    [ glob root "stack*.yaml" ~~> Stack
    , glob root "stack*.cabal" ~~> Cabal
    ]
detectBuildTool root = detect
    [ glob root "stack*.yaml" ~~> Stack
    , glob root "stack*.cabal" ~~> Cabal
    ]