[macruby-changes] [3353] MacRuby/trunk/tool/macruby_get_nightly.command

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 26 16:14:31 PST 2010


Revision: 3353
          http://trac.macosforge.org/projects/ruby/changeset/3353
Author:   ernest.prabhakar at 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:
-----------
    MacRuby/trunk/tool/macruby_get_nightly.command

Added: MacRuby/trunk/tool/macruby_get_nightly.command
===================================================================
--- 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
   + *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100126/6df7eeb7/attachment-0001.html>


More information about the macruby-changes mailing list