Revision
3353
Author
ernest.prabhakar@gmail.com
Date
2010-01-26 16:14:31 -0800 (Tue, 26 Jan 2010)

Log Message

Added tool for auto-installing latest nightly

Added Paths

Diff

Added: MacRuby/trunk/tool/macruby_get_nightly.command (0 => 3353)


--- MacRuby/trunk/tool/macruby_get_nightly.command	                        (rev 0)
+++ MacRuby/trunk/tool/macruby_get_nightly.command	2010-01-27 00:14:31 UTC (rev 3353)
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Download and install the latest version of MacRuby
+URL=http://macruby.icoretech.org/latest
+PKG=macruby_nightly-latest.pkg
+DOWNLOAD_DIR=~/Downloads
+DESTROOT=/
+
+cd ${DOWNLOAD_DIR}
+rm -f ${PKG}
+echo "Downloading ${URL}/${PKG} into ${DOWNLOAD_DIR}"
+curl -O ${URL}/${PKG}
+sudo installer -pkg ${PKG}  -target ${DESTROOT}
Property changes on: MacRuby/trunk/tool/macruby_get_nightly.command
___________________________________________________________________

Added: svn:executable