Sha256: c75c9d3668ef3a1451263abc0281d3e4c76f5a9fa07d18269768090bad427b4b
Contents?: true
Size: 1.75 KB
Versions: 23
Compression:
Stored size: 1.75 KB
Contents
#!/usr/bin/env ruby require 'rubygems' require 'rake' require 'rake/gempackagetask' require 'rake/clean' $LOAD_PATH.unshift( File.join( File.dirname(__FILE__), '../../lib') ) require 'masterview' RUBY_FORGE_PROJECT = "masterview" RUBY_FORGE_USER = "jeffbski" RUBY_FORGE_GROUPID = "1290" desc "Default Task - package" task :default => [ 'masterview_plugin_generator:package' ] task :package => [ 'masterview_plugin_generator:package' ] task :repackage => ['masterview_plugin_generator:repackage' ] namespace 'masterview_plugin_generator' do module MasterViewGemPluginGenerator PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' PKG_NAME = 'masterview_plugin_generator' PKG_VERSION = MasterView::VERSION::STRING + PKG_BUILD PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" RELEASE_NAME = "REL #{PKG_VERSION}" PKG_FILES = FileList[ "masterview_plugin_generator.rb", "templates/**/*", "[A-Z]*" ].exclude(/\bCVS\b|~$|\.svn|semantic.cache/) spec = Gem::Specification.new do |s| s.name = PKG_NAME s.version = PKG_VERSION s.summary = "A (x)html friendly template engine for rails with the power of layouts, and partials. MasterView Plugin Generator for GEM" s.has_rdoc = false s.files = PKG_FILES s.require_path = '.' s.autorequire = 'masterview_plugin_generator' s.author = "Jeff Barczewski" s.email = "jeff.barczewski@gmail.com" s.homepage = "http://masterview.org/" end # Create Rubygem package Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec p.need_tar = false p.need_zip = false p.package_dir = '../../pkg' end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
masterview_plugin_generator-0.2.3 | Rakefile |
masterview_plugin_generator-0.3.3 | Rakefile |
masterview_plugin_generator-0.3.4 | Rakefile |