diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-23 08:35:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-23 08:35:35 +0200 |
commit | bf8f95fdd25a68d02598c7be864bc97c05132c90 (patch) | |
tree | dfe5cc9752a13d3b6c3bd75e8af2896361abf7bc /ruby-gem/Rakefile | |
parent | 4da50a4f3e30d70595807d7debe63f8bbf56bc64 (diff) | |
download | skeletons-bf8f95fdd25a68d02598c7be864bc97c05132c90.zip skeletons-bf8f95fdd25a68d02598c7be864bc97c05132c90.tar.gz |
everything is packed into ruby-gems directory
Diffstat (limited to 'ruby-gem/Rakefile')
-rw-r--r-- | ruby-gem/Rakefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ruby-gem/Rakefile b/ruby-gem/Rakefile new file mode 100644 index 0000000..6f0ae5c --- /dev/null +++ b/ruby-gem/Rakefile @@ -0,0 +1,56 @@ +# -*- coding: UTF-8 -*- +# +load './tasks/setup.rb' +# +# Project general information +PROJ.name = 'FIXME' +PROJ.authors = 'FIXME' +PROJ.email = 'FIXME' +PROJ.url = 'http://FIXME' +PROJ.version = '0.0.0' +PROJ.rubyforge.name = 'FIXME' +PROJ.readme_file = 'README.rdoc' +# +# Annoucement +PROJ.ann.paragraphs << 'FEATURES' << 'SYNOPSIS' << 'REQUIREMENTS' << 'DOWNLOAD/INSTALL' << 'CREDITS' << 'LICENSE' +PROJ.ann.email[:from] = 'FIXME' +PROJ.ann.email[:to] = ['FIXME'] +PROJ.ann.email[:server] = 'FIXME' +PROJ.ann.email[:tls] = false +# Gem specifications +PROJ.gem.need_tar = false +PROJ.gem.files = %w(Changelog MIT-LICENSE README.rdoc Rakefile) + Dir.glob("{ext,lib,spec,tasks}/**/*[^~]").reject { |fn| test ?d, fn } +PROJ.gem.platform = Gem::Platform::RUBY +PROJ.gem.required_ruby_version = ">= 1.9.2" +# +# Override Mr. Bones autogenerated extensions and force ours in +#PROJ.gem.extras['extensions'] = %w(ext/extconf.rb) +#PROJ.gem.extras['required_ruby_version'] = ">= 1.9.2" +# +# RDoc +PROJ.rdoc.exclude << '^ext\/' +PROJ.rdoc.opts << '-x' << 'ext' +# +# Ruby +PROJ.ruby_opts = [] +PROJ.ruby_opts << '-I' << 'lib' +# +# RSpec +PROJ.spec.files.exclude /rbx/ +PROJ.spec.opts << '--color' +# +# Rcov +PROJ.rcov.opts << '-I lib' +# +# Dependencies +depend_on 'rake', '>=0.8.7' +# +task :default => [:spec] +# +desc "Build all packages" +task :package => 'gem:package' +# +desc "Install the gem locally" +task :install => 'gem:install' +# +# EOF |