From 10344cfad550fb6673fe15afd22717977933aaa1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Aug 2021 11:35:31 +0100 Subject: Cleaner autobuild --- bashrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 7e9307e..5e5b41a 100644 --- a/bashrc +++ b/bashrc @@ -160,6 +160,12 @@ EOF rm -f $launcher } +reset() +{ + clear + printf '\e[3J' +} + bisect() { MAILINGLISTS_INSTALL_BASE=$(git root)/../mailinglists ANALYTICS_INSTALL_BASE=$(git root)/analytics OCTAL_INSTALL_BASE=$(git root)/../smssite OCTAL_BASE=$(git root) CCACHE_BASEDIR=$(git root) git bisect run nice -n5 b2 -l300 -j$TASKS $@ } @@ -176,9 +182,8 @@ build() { } onchange() { $@ - while inotifywait -qr . --exclude '/bin/|\.sw.|/target/|/\.git/|\.gcov' -e modify ; do - clear - printf '\e[3J' + while inotifywait -qr . --exclude '\|/tags$|\.sw.$|\|/\.git/|\.gcov$' -e modify ; do + reset $@ done } -- cgit v1.2.3