From 26348fa6d9e20eb2bc4680297ee2d993445909bd Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Wed, 2 Nov 2011 18:01:44 +0100 Subject: [PATCH] .pkg task --- Rakefile | 8 ++++++++ pkg/RubyMotion.pmdoc/01motion-contents.xml | 1 + pkg/RubyMotion.pmdoc/01motion.xml | 1 + pkg/RubyMotion.pmdoc/index.xml | 15 +++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 pkg/RubyMotion.pmdoc/01motion-contents.xml create mode 100644 pkg/RubyMotion.pmdoc/01motion.xml create mode 100644 pkg/RubyMotion.pmdoc/index.xml diff --git a/Rakefile b/Rakefile index fa5cb4c1..04d49a5b 100644 --- a/Rakefile +++ b/Rakefile @@ -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 diff --git a/pkg/RubyMotion.pmdoc/01motion-contents.xml b/pkg/RubyMotion.pmdoc/01motion-contents.xml new file mode 100644 index 00000000..547eed5b --- /dev/null +++ b/pkg/RubyMotion.pmdoc/01motion-contents.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pkg/RubyMotion.pmdoc/01motion.xml b/pkg/RubyMotion.pmdoc/01motion.xml new file mode 100644 index 00000000..ad654497 --- /dev/null +++ b/pkg/RubyMotion.pmdoc/01motion.xml @@ -0,0 +1 @@ +com.hipbyte.rubymotion.pkg1.0/private/tmp/Motion/installToidentifierparent01motion-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ \ No newline at end of file diff --git a/pkg/RubyMotion.pmdoc/index.xml b/pkg/RubyMotion.pmdoc/index.xml new file mode 100644 index 00000000..f856f2e8 --- /dev/null +++ b/pkg/RubyMotion.pmdoc/index.xml @@ -0,0 +1,15 @@ +RubyMotion/Users/lrz/src/rubixir/installer/RubyMotion.pkgcom.hipbyte01motion.xmlproperties.title \ No newline at end of file