[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: improve error reporting in XCode (a4b8812)
git at git.haskell.org
git at git.haskell.org
Fri Apr 21 16:48:12 UTC 2017
- Previous message: [commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: clean up .xcodeproj to use cabal (5892926)
- Next message: [commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: XCode tweak (ef08a05)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/time
On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link : http://git.haskell.org/packages/time.git/commitdiff/a4b8812aa30291185aca449117d2bc8141985121
>---------------------------------------------------------------
commit a4b8812aa30291185aca449117d2bc8141985121
Author: Ashley Yakeley <ashley at semantic.org>
Date: Tue Dec 19 22:49:48 2006 -0800
improve error reporting in XCode
darcs-hash:20061220064948-ac6dd-e6e4ca06bf1e0a7d15ca9d825a42a6b34775cefc
>---------------------------------------------------------------
a4b8812aa30291185aca449117d2bc8141985121
time.xcodeproj/cabalbuild | 5 ++++-
time.xcodeproj/fixerrormsgs | 10 ++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/time.xcodeproj/cabalbuild b/time.xcodeproj/cabalbuild
index 6b4a2d1..2462967 100755
--- a/time.xcodeproj/cabalbuild
+++ b/time.xcodeproj/cabalbuild
@@ -1,5 +1,8 @@
#!/bin/sh
+{
case $1 in
'' ) runghc Setup.hs configure;runghc Setup.hs build ;;
* ) runghc Setup.hs $1 ;;
-esac
+esac 2>&1;
+} | ${0/%cabalbuild/}/fixerrormsgs
+exit $PIPESTATUS
diff --git a/time.xcodeproj/fixerrormsgs b/time.xcodeproj/fixerrormsgs
new file mode 100755
index 0000000..ee6d461
--- /dev/null
+++ b/time.xcodeproj/fixerrormsgs
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+$| = 1;
+my $found = false;
+while (<>)
+ {
+ s/^[ ]*/ / if $found;
+ s/^ Warning:/ warning:/ if $found;
+ $found = s/(^[^ ][^ ]*:[0-9][0-9]*:)\n/$1/;
+ print;
+ }
- Previous message: [commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: clean up .xcodeproj to use cabal (5892926)
- Next message: [commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: XCode tweak (ef08a05)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list