Project

omeka-rake

0.0
No release in over 3 years
Low commit activity in last 3 years
A (very small) collection of Rake tasks for working with Omeka plugins.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
 Project Readme

omeka-rake

Build Status

This is a collection of Rake tasks for working with Omeka.

Currently, this has one class: SLab::Omeka::Rake::PackageTask. This builds packages using the naming conventions for Omeka plugins. (This means that the ZIP file will be named PLUGIN-VERSION.zip, and it will contain a directory PLUGIN/.)

Here's an example of how to use it:

require 'slab/omeka/rake/package_task'

SLab::Omeka::Rake::PackageTask.new('Something') do |pkg|
  # You'll probably want to set the version programmatically.
  pkg.version = '1.0.0'
  pkg.need_tar_gz = true
  pkg.need_zip = true

  pkg.package_files.include('README.md')
  pkg.package_files.include('plugin.ini')
  pkg.package_files.include('**/*.php')
end