Sha256: 78b314415a935cad417c1c45877caaca224488df18e93484e51ace5ed2b3a93d

Contents?: true

Size: 1.92 KB

Versions: 2

Compression:

Stored size: 1.92 KB

Contents

require 'rake/gempackagetask'
require 'rake/clean'
require 'rake/testtask'
require 'lib/sprout/mxml/version'

SPROUT_HOME             = ENV['SPROUT_HOME']
PROJECT                 = 'sprout'
NAME                    = 'sprout-mxml-bundle'
SUMMARY                 = 'Project and Code Generators for Flex Development'
GEM_VERSION             = Sprout::MXML::VERSION::STRING
AUTHOR                  = 'Pattern Park'
EMAIL                   = 'projectsprouts@googlegroups.com'
HOMEPAGE                = 'http://www.projectsprouts.org'
DESCRIPTION             = "Code Generation and Rake Tasks for MXML Development"
HOMEPATH                = "http://#{PROJECT}.rubyforge.org"
RELEASE_TYPES           = ["gem"]

require File.join(SPROUT_HOME, 'sprout/script/build_helpers')

PKG_LIST                = FileList['[a-zA-Z]*',
                                  'lib/**/*'
                                  ]

PKG_LIST.exclude('.svn')
PKG_LIST.exclude('artifacts')
PKG_LIST.each do |file|
  task :package => file
end

spec = Gem::Specification.new do |s|
  s.platform            = Gem::Platform::RUBY
  s.summary             = SUMMARY
  s.description         = DESCRIPTION
  s.name                = NAME
  s.version             = GEM_VERSION
  s.author              = AUTHOR
  s.email               = EMAIL
  s.homepage            = HOMEPAGE
  s.rubyforge_project   = PROJECT
  s.require_path        = 'lib'
  s.autorequire         = 'sprout/mxml'
  s.has_rdoc            = true
  s.extra_rdoc_files    = %w( README )
  s.rdoc_options        << '--main'         << 'README'
  s.rdoc_options        << '--title'        << DESCRIPTION
  s.rdoc_options        << '--line-numbers' << '--inline-source'
  s.rdoc_options        << '--charset'      << 'utf-8'
  s.rdoc_options        << '-i'             << '.'
  s.files               = PKG_LIST.to_a

  s.add_dependency('sprout', '>= 0.7.189')
  s.add_dependency('sprout-as3-bundle')
end

Rake::GemPackageTask.new(spec) do |p|
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprout-mxml-bundle-0.1.13 rakefile.rb
sprout-mxml-bundle-0.1.11 rakefile.rb