summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:35:15 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:35:15 +0100
commit7a185f443093508585e6a9ed476ea1c4f85885dc (patch)
tree1996ea5edbbe6ceee4736ceeab3a524790d26e0b /bashrc
parentDisable x11 when using shmux (diff)
downloadutil-7a185f443093508585e6a9ed476ea1c4f85885dc.tar.bz2
util-7a185f443093508585e6a9ed476ea1c4f85885dc.tar.xz
util-7a185f443093508585e6a9ed476ea1c4f85885dc.zip
Add alias to run git besect with standard build options
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index b302dd6..7e9307e 100644
--- a/bashrc
+++ b/bashrc
@@ -160,6 +160,9 @@ EOF
rm -f $launcher
}
+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 $@
+}
build() {
title "Build in progress"
CCACHE_BASEDIR=$(git root) nice -n5 b2 -j$TASKS $@