diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:35:31 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:35:31 +0100 |
commit | 10344cfad550fb6673fe15afd22717977933aaa1 (patch) | |
tree | 23b0a1f29f743fada4bf1e4fae5aa8d1bf1f58b6 | |
parent | Add alias to run git besect with standard build options (diff) | |
download | util-10344cfad550fb6673fe15afd22717977933aaa1.tar.bz2 util-10344cfad550fb6673fe15afd22717977933aaa1.tar.xz util-10344cfad550fb6673fe15afd22717977933aaa1.zip |
Cleaner autobuild
-rw-r--r-- | bashrc | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 '\<bin\>|/tags$|\.sw.$|\<target\>|/\.git/|\.gcov$' -e modify ; do + reset $@ done } |