begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.version = "0.4.5.1" gemspec.name = "netzke-core" gemspec.summary = "Build ExtJS/Rails widgets with minimum effort" gemspec.description = "Allows building ExtJS/Rails reusable code in a DRY way" gemspec.email = "sergei@playcode.nl" gemspec.homepage = "http://github.com/skozlov/netzke-core" gemspec.rubyforge_project = "netzke-core" gemspec.authors = ["Sergei Kozlov"] end Jeweler::GemcutterTasks.new # Jeweler::RubyforgeTasks.new do |rubyforge| # rubyforge.doc_task = "rdoc" # end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION') version = File.read('VERSION') else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "netzke-core #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end