diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-30 07:54:03 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-30 07:54:03 +0200 |
commit | b765e18034f5df6169bba2d723a649425d19eede (patch) | |
tree | 50c657cb12076afbac254dcaacdb88e59b171999 /Rakefile | |
download | ayk-b765e18034f5df6169bba2d723a649425d19eede.zip ayk-b765e18034f5df6169bba2d723a649425d19eede.tar.gz |
initial commit
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..6462057 --- /dev/null +++ b/Rakefile @@ -0,0 +1,56 @@ +# -*- coding: UTF-8 -*- +# +load './tasks/setup.rb' +# +# Project general information +PROJ.name = 'ayk' +PROJ.authors = 'Jérémy Zurcher' +PROJ.email = 'jeremy@asynk.ch' +PROJ.url = 'http://cgit.asynk.ch/cgi-bin/cgit/ayk/' +PROJ.version = '0.0.1' +PROJ.rubyforge.name = 'FIXME' +PROJ.readme_file = 'README.rdoc' +# +# Annoucement +PROJ.ann.paragraphs << 'FEATURES' << 'SYNOPSIS' << 'REQUIREMENTS' << 'DOWNLOAD/INSTALL' << 'CREDITS' << 'LICENSE' +PROJ.ann.email[:from] = 'jeremy@asynk.ch' +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.8.7" +# +# 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 |