Sha256: d0dc1c8825900f7108dc74537026b3b7c4543e991dc7a739bc0fee5a95bf156d
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
# encoding: utf-8 begin require 'bones' Bones.setup rescue LoadError load 'tasks/setup.rb' # this line should already be there end PROJ.name = 'thumbo' # supress warnings, there's too many warnings in dm-core # PROJ.ruby_opts.delete '-w' PROJ.gem.dependencies << ['rmagick', '>=2.6.0'] PROJ.gem.development_dependencies << ['minitest', '>=1.3.0'] # PROJ.gem.executables = ["bin/#{PROJ.name}"] task :default do Rake.application.options.show_task_pattern = /./ Rake.application.display_tasks_and_comments end namespace :gem do desc "create #{PROJ.name}.gemspec" task 'gemspec' do puts "rake gem:debug > #{PROJ.name}.gemspec" File.open("#{PROJ.name}.gemspec", 'w'){|spec| spec << `rake gem:debug`.sub(/.*/, '')} end end PROJ.authors = 'Lin Jen-Shin (a.k.a. godfat 真常)' PROJ.email = 'godfat (XD) godfat.org' PROJ.url = "http://github.com/godfat/#{PROJ.name}" PROJ.description = PROJ.summary = paragraphs_of('README', 'description').join("\n\n") PROJ.changes = paragraphs_of('CHANGES', 0..1).join("\n\n") PROJ.rubyforge.name = 'ludy' PROJ.version = File.read("lib/#{PROJ.name}/version.rb").gsub(/.*VERSION = '(.*)'.*/m, '\1') PROJ.manifest_file = 'Manifest' PROJ.exclude += ['^Manifest$', '^tmp', 'tmp$', '^pkg', '^\.gitignore$', '^ann-', '\.sqlite3$', '\.db$'] PROJ.rdoc.remote_dir = PROJ.name PROJ.readme_file = 'README' PROJ.rdoc.main = 'README' PROJ.rdoc.exclude += ['Rakefile', '^tasks', '^test'] PROJ.rdoc.include << '\w+' PROJ.rdoc.opts << '--diagram' if !WIN32 and `which dot` =~ %r/\/dot/ PROJ.rdoc.opts += ['--charset=utf-8', '--inline-source', '--line-numbers', '--promiscuous'] PROJ.spec.opts << '--color' PROJ.ann.file = "ann-#{PROJ.name}-#{PROJ.version}" PROJ.ann.paragraphs.concat %w[LINKS SYNOPSIS REQUIREMENTS INSTALL LICENSE] CLEAN.include Dir['**/*.rbc']
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
godfat-thumbo-0.5.0 | Rakefile |