From 39de355423f48f97af4aa55c3726c46bdefeeb75 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 1 Oct 2014 21:18:57 -0600 Subject: [PATCH] Add a few minor tweaks to bashbrew for consistency Also, run through a `--no-push` run of `push.sh` in Travis, and give Travis an explicit language so we don't get funny Ruby-related nonsense in our build logs. --- build.sh | 2 +- push.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 8d3e11c..8f6b01c 100755 --- a/build.sh +++ b/build.sh @@ -44,7 +44,7 @@ options: EOUSAGE } -opts="$(getopt -o 'h?' --long 'all,help,no-clone,no-build,library:,src:,logs:,namespaces:' -- "$@" || { usage >&2 && false; })" +opts="$(getopt -o 'h?' --long 'help,all,no-clone,no-build,library:,src:,logs:,namespaces:' -- "$@" || { usage >&2 && false; })" eval set -- "$opts" doClone=1 diff --git a/push.sh b/push.sh index 6fa6596..f02f424 100755 --- a/push.sh +++ b/push.sh @@ -38,7 +38,7 @@ options: EOUSAGE } -opts="$(getopt -o 'h?' --long 'all,help,no-push,library:,namespaces:' -- "$@" || { usage >&2 && false; })" +opts="$(getopt -o 'h?' --long 'help,all,no-push,library:,logs:,namespaces:' -- "$@" || { usage >&2 && false; })" eval set -- "$opts" doPush=1 @@ -54,6 +54,7 @@ while true; do --all) buildAll=1 ;; --no-push) doPush= ;; --library) library="$1" && shift ;; + --logs) logs="$1" && shift ;; --namespaces) namespaces="$1" && shift ;; --) break