diff options
author | Joey Hess <id@joeyh.name> | 2013-05-11 15:03:00 -0500 |
---|---|---|
committer | Joey Hess <id@joeyh.name> | 2013-05-11 15:03:00 -0500 |
commit | d0fa82fb721cdc85438287e29a94cb796b7bc464 (patch) | |
tree | 26a2486b8e715b5937ce41679eafd42c02f2310a /git-annex.hs | |
parent | 679eaf6077375c5d59501d12c79e0891cbdd904f (diff) |
git-annex now builds on Windows (doesn't work)
Diffstat (limited to 'git-annex.hs')
-rwxr-xr-x[-rw-r--r--] | git-annex.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-annex.hs b/git-annex.hs index 0f45f53eb..b8b05a27c 100644..100755 --- a/git-annex.hs +++ b/git-annex.hs @@ -13,7 +13,10 @@ import System.FilePath import qualified GitAnnex import qualified GitAnnexShell #ifdef WITH_TESTSUITE +#ifndef __WINDOWS__ import qualified Test +#define CHECK_TEST +#endif #endif main :: IO () @@ -25,7 +28,7 @@ main = run =<< getProgName isshell n = takeFileName n == "git-annex-shell" go a = do ps <- getArgs -#ifdef WITH_TESTSUITE +#ifdef CHECK_TEST if ps == ["test"] then Test.main else a ps |