Skip to content


Protect touch call in test action with #ifndef WINDOWS macro #343

merged 1 commit into from

2 participants


Trying to build yesod under windows but it was failing with:
main.hs:41:13 Not in scope: 'touch'

@snoyberg snoyberg merged commit b57bee2 into yesodweb:master
Yesod Web Framework member

Thanks for the submission!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 2 additions and 0 deletions.
  1. +2 −0 yesod/main.hs
2 yesod/main.hs
@@ -38,7 +38,9 @@ main = do
"devel":rest -> devel isDev rest
"test":_ -> do
+#ifndef WINDOWS
rawSystem' cmd ["configure", "--enable-tests", "-flibrary-only"]
rawSystem' cmd ["build"]
rawSystem' cmd ["test"]
Something went wrong with that request. Please try again.