Sha256: d1a397a9e98b8013fb97240a946c403e46cd12b394877d76e31b3782d7949d60
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' desc 'Default: run unit tests.' task :default => :test desc 'Test the dojo_on_rails plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' #t.pattern = 'test/*_test.rb' t.test_files = FileList['test/*_test.rb'] t.verbose = true end desc 'Generate documentation for the dojo_on_rails plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'depo' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end PKG_FILES = FileList[ '[a-zA-Z]*', 'generators/**/*', 'lib/**/*', 'rails/**/*', 'tasks/**/*', 'test/**/*' ] spec = Gem::Specification.new do |s| s.name = "depo" s.version = "0.0.3" s.author = "niquola, smecsia" s.email = "niquola@gmail.com" #s.homepage = "" s.platform = Gem::Platform::RUBY s.summary = "Rails & Dojo integration" s.add_dependency('dojo_src') s.add_dependency('rails', '>= 2.3.5') s.add_dependency('kung_figure', '0.0.2') s.files = PKG_FILES.to_a s.require_path = "lib" s.has_rdoc = false s.extra_rdoc_files = ["README.rdoc"] end desc 'Turn this plugin into a gem.' Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
depo-0.0.3 | Rakefile |