From a697c0581ac4a85653c42f7834327c43ff81c376 Mon Sep 17 00:00:00 2001 From: NeonGraal Date: Thu, 26 Apr 2012 10:47:29 +1200 Subject: [PATCH] Protect touch call in test action with #ifndef WINDOWS macro --- yesod/main.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yesod/main.hs b/yesod/main.hs index 4457a974..cd961ef7 100755 --- a/yesod/main.hs +++ b/yesod/main.hs @@ -38,7 +38,9 @@ main = do #endif "devel":rest -> devel isDev rest "test":_ -> do +#ifndef WINDOWS touch +#endif rawSystem' cmd ["configure", "--enable-tests", "-flibrary-only"] rawSystem' cmd ["build"] rawSystem' cmd ["test"]