Skip to content

Commit f1e91d4

Browse files
author
Charlie Somerville
committed
Merge pull request #2 from github/quiet
Suppress output from git clean and configure
2 parents 93bf374 + e26a926 commit f1e91d4

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

script/cibuild

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ if [ -z "$CORES" ]; then
44
CORES=16
55
fi
66

7-
git clean -f -x
8-
autoconf
9-
./configure --disable-install-doc --prefix=`pwd`/inst
10-
make -j $CORES
11-
make install
7+
function Q {
8+
if ! "$@" &> /tmp/ruby_ci_log; then
9+
cat /tmp/ruby_ci_log
10+
exit 1
11+
fi
12+
}
13+
14+
Q git clean -f -x
15+
Q autoconf
16+
Q ./configure --disable-install-doc --prefix=`pwd`/inst
17+
Q make -j $CORES
18+
Q make install
1219
make TESTS="-j $CORES" test-all

0 commit comments

Comments
 (0)