Sha256: f132f8ad7fdbe6c96a2b7559765e28bd051ec6b1783f2f72ccd699fddc1634af

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

require 'rake'
require 'spec/rake/spectask'

Dir.chdir File.dirname(__FILE__)	

task :default => :spec

Spec::Rake::SpecTask.new('spec') do |t|
	t.spec_files = FileList["spec/**/*_spec.rb"]
	t.libs = ["lib", "spec"]
end

require 'rake/clean'
require 'rake/gempackagetask'
require 'fileutils'

spec = Gem::Specification.new do |s|
	s.name = "RubyExt"
	s.version = "0.1.1"
	s.summary = "A set of Ruby language extensions, mainly for ActivePoint Project"
	s.description = "A set of Ruby language extensions, mainly for ActivePoint Project"
	s.author = "Alexey Petrushin"
	#	s.email = ""
	s.homepage = "http://www.bos-tec.com"
	s.rubyforge_project = "RubyExt"
	
	s.platform = Gem::Platform::RUBY
	s.has_rdoc = true
	s.extra_rdoc_files = ["README"]
	
	s.files = (%w{rakefile README} + Dir.glob("{lib,spec}/**/*"))\
	.select{|f| f !~ /^\./}
	#	s.executables = ['restclient']
	#	s.add_dependency("BlueCloth", ">= 0.0.4")
	
	s.require_path = "lib"
end

Rake::GemPackageTask.new(spec) do |p|
	package_dir = "#{File.expand_path File.dirname(__FILE__)}/../build"
	FileUtils.mkdir package_dir unless File.exist? package_dir	
	p.need_tar = true if RUBY_PLATFORM !~ /mswin/
	p.need_zip = true
	p.package_dir = package_dir
end

CLEAN.include [ 'pkg', '*.gem']

task :release => [:gem, :clean]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
RubyExt-0.1.1 rakefile