From 7f67e5f763cc0543ce3d263d371828ce9781a377 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 Apr 2013 18:34:03 -0400 Subject: [PATCH] show part of log on compile error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 58363b200d..4068a03f54 100644 --- a/Makefile +++ b/Makefile @@ -164,7 +164,7 @@ android: Build/EvilSplicer echo "Running native build, to get TH splices.." if [ ! -e dist/setup/setup ]; then $(CABAL) configure -f"-Production" -O0; fi mkdir -p tmp - $(CABAL) build --ghc-options=-ddump-splices 2> tmp/dump-splices + if ! $(CABAL) build --ghc-options=-ddump-splices 2> tmp/dump-splices; then tail tmp/dump-splices >&2; fi echo "Setting up Android build tree.." ./Build/EvilSplicer tmp/splices tmp/dump-splices standalone/android/evilsplicer-headers.hs rsync -az --exclude tmp --exclude dist . tmp/androidtree