Sha256: a8380c886a4f450e0678e28a41bd8ce1a6441e3b405722261aa4ee9af631ce75

Contents?: true

Size: 1.73 KB

Versions: 22

Compression:

Stored size: 1.73 KB

Contents

# -*- coding: utf-8 -*-
require 'rubygems'
require 'bundler'
# begin
#   Bundler.setup(:default, :development)
# rescue Bundler::BundlerError => e
#   $stderr.puts e.message
#   $stderr.puts "Run `bundle install` to install missing gems"
#   exit e.status_code
# end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "milkode"
  gem.homepage = "http://github.com/ongaeshi/milkode"
  gem.license = "MIT"
  gem.summary = %Q{Line based local source code search engine & grep-command & web-app.}
  gem.description = %Q{Line based local source code search engine & grep-command & web-app.}
  gem.email = "ongaeshi0621@gmail.com"
  gem.authors = ["ongaeshi"]
  # Dependencies move to 'Gemfile'
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'

# groonga関連のテストが通らないため、独自のrake_test_loaderを読み込む
$LOAD_PATH.unshift '.'
module Rake
  class TestTask < TaskLib
    def rake_loader # :nodoc:
      find_file('test/rake_test_loader') or
        fail "unable to find rake test loader"
    end
  end
end
 
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.test_files = FileList['test/**/test_*.rb']
  test.verbose = true
end

task :test_all do
  puts "--- rvm 1.9.2@milkode ---"
  system('rvm 1.9.2@milkode')
  system('rake test')

  puts "--- rvm system ---"
  system('rvm system')
  system('rake test')
end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "milkode #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
milkode-1.5.0 Rakefile
milkode-1.4.0 Rakefile
milkode-1.3.0 Rakefile
milkode-1.2.0 Rakefile
milkode-1.1.0 Rakefile
milkode-1.0.2 Rakefile
milkode-1.0.0 Rakefile
milkode-0.9.9.9 Rakefile
milkode-0.9.9 Rakefile
milkode-0.9.8 Rakefile
milkode-0.9.7 Rakefile
milkode-0.9.6 Rakefile
milkode-0.9.5 Rakefile
milkode-0.9.4 Rakefile
milkode-0.9.3.1 Rakefile
milkode-0.9.3 Rakefile
milkode-0.9.2 Rakefile
milkode-0.9.1.1 Rakefile
milkode-0.9.1 Rakefile
milkode-0.9.0 Rakefile