Skip to content

Commit 75b89a1

Browse files
author
Charlie Somerville
committed
Merge pull request #5 from github/script-deploy-1.9
Add script/deploy script
2 parents 212763c + cc795ff commit 75b89a1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

script/deploy

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
function try {
4+
echo "$@"
5+
if ! "$@" &> log; then
6+
echo "*** '$@' FAILED" 1>&2
7+
cat log 1>&2
8+
exit 1
9+
fi
10+
}
11+
12+
cd "$(dirname "$0")/.."
13+
14+
try autoconf
15+
try ./configure --prefix=/data/ruby --disable-install-doc
16+
try make -j 4
17+
try make install

0 commit comments

Comments
 (0)