summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <id@joeyh.name>2013-05-11 15:03:00 -0500
committerGravatar Joey Hess <id@joeyh.name>2013-05-11 15:03:00 -0500
commitd0fa82fb721cdc85438287e29a94cb796b7bc464 (patch)
tree26a2486b8e715b5937ce41679eafd42c02f2310a /GitAnnex.hs
parent679eaf6077375c5d59501d12c79e0891cbdd904f (diff)
git-annex now builds on Windows (doesn't work)
Diffstat (limited to 'GitAnnex.hs')
-rwxr-xr-x[-rw-r--r--]GitAnnex.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index 211d79ef3..ef6e0303a 100644..100755
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -23,7 +23,9 @@ import qualified Command.Get
import qualified Command.FromKey
import qualified Command.DropKey
import qualified Command.TransferKey
+#ifndef __WINDOWS__
import qualified Command.TransferKeys
+#endif
import qualified Command.ReKey
import qualified Command.Reinject
import qualified Command.Fix
@@ -73,8 +75,10 @@ import qualified Command.XMPPGit
#endif
#endif
#ifdef WITH_TESTSUITE
+#ifndef __WINDOWS__
import qualified Command.Test
#endif
+#endif
cmds :: [Command]
cmds = concat
@@ -107,7 +111,9 @@ cmds = concat
, Command.FromKey.def
, Command.DropKey.def
, Command.TransferKey.def
+#ifndef __WINDOWS__
, Command.TransferKeys.def
+#endif
, Command.ReKey.def
, Command.Fix.def
, Command.Fsck.def
@@ -137,8 +143,10 @@ cmds = concat
#endif
#endif
#ifdef WITH_TESTSUITE
+#ifndef __WINDOWS__
, Command.Test.def
#endif
+#endif
]
header :: String