Commit ab5a70fd authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Drop workaround a Shake getDirectoryFiles bug.

parent e5323858
...@@ -97,9 +97,5 @@ extraObjects :: Context -> Action [FilePath] ...@@ -97,9 +97,5 @@ extraObjects :: Context -> Action [FilePath]
extraObjects (Context _ package _) extraObjects (Context _ package _)
| package == integerGmp = do | package == integerGmp = do
orderOnly [gmpLibraryH] -- TODO: move this dependency elsewhere, #113? orderOnly [gmpLibraryH] -- TODO: move this dependency elsewhere, #113?
-- FIXME: simplify after Shake's getDirectoryFiles bug is fixed, #168 map unifyPath <$> getDirectoryFiles "" [gmpObjects -/- "*.o"]
exists <- doesDirectoryExist gmpObjects
if exists
then map unifyPath <$> getDirectoryFiles "" [gmpObjects -/- "*.o"]
else return []
| otherwise = return [] | otherwise = return []
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment