.pkg task

This commit is contained in:
Laurent Sansonetti
2011-11-02 18:01:44 +01:00
parent 8a6258486b
commit 26348fa6d9
4 changed files with 25 additions and 0 deletions

View File

@@ -81,3 +81,11 @@ task :install do
install.call(path, 0644)
end
end
desc "Generate .pkg"
task :package do
ENV['DESTDIR'] = '/tmp/Motion'
rm_rf '/tmp/Motion'
Rake::Task[:install].invoke
sh "/Developer/usr/bin/packagemaker --doc pkg/RubyMotion.pmdoc --out \"pkg/RubyMotion #{PROJECT_VERSION}.pkg\" --version #{PROJECT_VERSION}"
end

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<pkgref spec="1.12" uuid="3A715408-F0A7-422E-93C5-FC9519B3E0DB"><config><identifier>com.hipbyte.rubymotion.pkg</identifier><version>1.0</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/private/tmp/Motion</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>installTo</mod><mod>identifier</mod><mod>parent</mod></config><contents><file-list>01motion-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

View File

@@ -0,0 +1,15 @@
<pkmkdoc spec="1.12"><properties><title>RubyMotion</title><build>/Users/lrz/src/rubixir/installer/RubyMotion.pkg</build><organization>com.hipbyte</organization><userSees ui="easy"/><min-target os="3"/><domain anywhere="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="Motion" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.hipbyte.rubymotion.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="welcome"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\f0\fs26 \cf0 RubyMotion is a framework that permits the development of mobile iOS applications in Ruby.\
\
Warning: this software is in beta.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="conclusion"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\f0\fs26 \cf0 RubyMotion has been installed into `/Library/Motion'. You will find a `sample' directory there that contains sample code. Documentation is in the `doc' directory.\
\
The `/usr/bin/motion' command line tool is available from the terminal.}]]></resource></locale></resources><flags/><item type="file">01motion.xml</item><mod>properties.title</mod></pkmkdoc>