Sha256: 838bdf344a50dfc2b62af485815936854068f8bd4eb49cfc4a41a9e4ca024ca7
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
$:.unshift('.') # ruby 1.9.2 require 'lib/volute.rb' require 'rubygems' require 'rake' # # SPEC task :spec do sh "spec -cfs spec/" end task :default => :spec # # CLEAN require 'rake/clean' CLEAN.include('pkg', 'tmp', 'html', 'rdoc') # # GEM require 'jeweler' Jeweler::Tasks.new do |gem| gem.version = Volute::VOLUTE_VERSION gem.name = 'volute' gem.summary = 'placing some [business] logic outside of classes' gem.description = %{ placing some [business] logic outside of classes } gem.email = 'jmettraux@gmail.com' gem.homepage = 'http://github.com/jmettraux/volute/' gem.authors = [ 'John Mettraux' ] gem.rubyforge_project = 'rufus' #gem.test_file = 'test/test.rb' #gem.add_dependency 'mime-types', '>= 1.16' gem.add_development_dependency 'rake' gem.add_development_dependency 'rspec' gem.add_development_dependency 'jeweler' # gemspec spec : http://www.rubygems.org/read/chapter/20 end Jeweler::GemcutterTasks.new # # DOC # # make sure to have rdoc 2.5.x to run that # require 'rake/rdoctask' Rake::RDocTask.new do |rd| rd.main = 'README.rdoc' rd.rdoc_dir = 'rdoc/volute' rd.title = "volute #{Volute::VOLUTE_VERSION}" rd.rdoc_files.include( 'README.rdoc', 'CHANGELOG.txt', 'LICENSE.txt', 'lib/**/*.rb') end # # TO THE WEB task :upload_rdoc => [ :clean, :rdoc ] do account = 'jmettraux@rubyforge.org' webdir = '/var/www/gforge-projects/rufus' sh "rsync -azv -e ssh rdoc/volute #{account}:#{webdir}/" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
volute-0.1.0 | Rakefile |