enhance build message(error:red, warning:ylw) 90/167090/3
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 15 Jan 2018 09:32:19 +0000 (18:32 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 16 Jan 2018 06:08:31 +0000 (06:08 +0000)
Change-Id: I27d34def125eea0dc4985e987cf93eb30780ffd3

packaging/efl.spec

index 9dd502a..13ca5ca 100644 (file)
@@ -1234,7 +1234,10 @@ export XDG_RUNTIME_DIR="/tmp/"
 #    --enable-drm \
 #    --enable-gl-drm \
 
-%__make %{?_smp_mflags} --trace
+%__make %{?_smp_mflags} --trace \
+2>&1 | sed \
+-e 's%^.*: error: .*$%\x1b[37;41m&\x1b[m%' \
+-e 's%^.*: warning: .*$%\x1b[30;43m&\x1b[m%'
 
 %install
 %make_install