diff options
Diffstat (limited to 'standalone')
-rw-r--r-- | standalone/windows/build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index 359a62806..1bab587f8 100644 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -7,6 +7,7 @@ set -x set -e HP="/c/Program Files (x86)/Haskell Platform/2012.4.0.0" +FLAGS="-Webapp -Assistant -XMPP" PATH="$HP/bin:$HP/lib/extralibs/bin:$PATH" @@ -15,12 +16,14 @@ incygwin () { PATH="/c/cygwin/bin:$PATH" "$@" } -# Build git-annex +# Install haskell dependencies. cabal update +cabal list --installed # cabal install is not run in cygwin, because we don't want configure scripts # for haskell libraries to link them with the cygwin library. -FLAGS="-Webapp -Assistant" cabal install --only-dependencies -f"$FLAGS" + +# Build git-annex incygwin cabal configure -f"$FLAGS" incygwin cabal build |