Sha256: a45800c97c834b925601eb37f601e0b6f06e436c26c3c7dc61f2e6596fe86748

Contents?: true

Size: 997 Bytes

Versions: 6

Compression:

Stored size: 997 Bytes

Contents

require "bundler/gem_tasks"

task :default => :test

# ==========================================================
# Packaging
# ==========================================================

GEMSPEC = Gem::Specification.load('ctags.rb.gemspec')

require 'rubygems/package_task'
Gem::PackageTask.new(GEMSPEC) do |pkg|
end

# ==========================================================
# Compiling
# ==========================================================

task :build do
  Dir.chdir('ext') do
    ruby 'extconf.rb'
  end
end

# ==========================================================
# Testing
# ==========================================================

require 'rake/testtask'
Rake::TestTask.new 'test' do |t|
  t.test_files = FileList['test/test_*.rb']
  t.ruby_opts = ['-rubygems']
end
task :test => :build

# ==========================================================
# Benchmarks
# ==========================================================

task :bench => :build do
  ruby 'bench.rb'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 Rakefile
ctags.rb-1.1.3 Rakefile
ctags.rb-1.0.19 Rakefile
ctags.rb-1.0.18 Rakefile
ctags.rb-1.0.15 Rakefile
ctags.rb-1.0.6 Rakefile