Packaging a Portlet
Packaging a Mack Portlet is quite simple. There are a few Rake tasks that help ease the process:
$ rake mack:portlet:prepare $ rake mack:portlet:package $ rake mack:portlet:install
The mack:portlet:prepare task will generate two files for you:
porlet_config/ porlet.spec README
The README file is there to be the README for you Portlet gem. The portlet.spec is the Ruby Gem spec file needed for your gem. Feel free and edit this to rename your Portlet gem, add dependencies, etc...
The mack:portlet:package task builds your Portlet gem. This gem is now ready for distribution. This task calls the mack:portlet:prepare task first.
The mack:portlet:install task calls mack:portlet:package first, and then installs the resulting gem for you.