[macruby-changes] [2970] MacRuby/trunk/misc/xcode-templates/Target Templates/Ruby/Compile. trgttmpl

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 6 17:04:38 PST 2009


Revision: 2970
          http://trac.macosforge.org/projects/ruby/changeset/2970
Author:   lsansonetti at apple.com
Date:     2009-11-06 17:04:38 -0800 (Fri, 06 Nov 2009)
Log Message:
-----------
added a Compile target that calls 'macruby_deploy --compile'

Added Paths:
-----------
    MacRuby/trunk/misc/xcode-templates/Target Templates/Ruby/Compile.trgttmpl

Added: MacRuby/trunk/misc/xcode-templates/Target Templates/Ruby/Compile.trgttmpl
===================================================================
--- MacRuby/trunk/misc/xcode-templates/Target Templates/Ruby/Compile.trgttmpl	                        (rev 0)
+++ MacRuby/trunk/misc/xcode-templates/Target Templates/Ruby/Compile.trgttmpl	2009-11-07 01:04:38 UTC (rev 2970)
@@ -0,0 +1,13 @@
+{
+    Class = Aggregate;
+    Description = "Target that compiles your MacRuby application into machine code. This is useful to accelerate the application startup time as well as hiding the original source code.";
+    CustomBuildSettings = {
+    };
+	BuildPhases = (
+        {
+			Class = ShellScript;
+			ShellPath = "/bin/sh";
+			ShellScript = "# The macruby_deploy command-line tool with the --compile argument will compile every Ruby source file of your .app into machine code. Default options will be used. Pass the -h option to get more information.\nPATH=\"$PATH:/usr/local/bin\" macruby_deploy --compile \"$TARGET_BUILD_DIR/$PROJECT_NAME.app\"";
+        },
+    );
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091106/f48c3278/attachment.html>


More information about the macruby-changes mailing list