Sha256: c9d73ad422ab40bf6f31799df5dfa582323cc450a8d421cd4d8d8a5746c1b49b

Contents?: true

Size: 1009 Bytes

Versions: 29

Compression:

Stored size: 1009 Bytes

Contents

# -*- encoding: utf-8 -*-

# This code is free software; you can redistribute it and/or modify it under
# the terms of the new BSD License.
#
# Copyright (c) 2011, Sebastian Staudt

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubygems/package_task'

task :default => :spec
task :test    => :spec

spec = Gem::Specification.load 'rbzip2.gemspec'
Gem::PackageTask.new(spec) do |pkg|
end

RSpec::Core::RakeTask.new('spec') do |t|
end

begin
  require 'yard'

  YARD::Rake::YardocTask.new do |yardoc|
    yardoc.name    = 'doc'
    yardoc.files   = [ 'lib/**/*.rb', 'LICENSE', 'README.md' ]
    yardoc.options = [ '--private', '--title', 'RBzip2 — API Documentation' ]
  end
rescue LoadError
  desc 'Generate YARD Documentation (not available)'
  task :doc do
    $stderr.puts 'You need YARD to build the documentation. Install it using `gem install yard`.'
  end
end

desc 'Clean documentation and package directories'
task :clean do
  FileUtils.rm_rf 'doc'
  FileUtils.rm_rf 'pkg'
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.15.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.14.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.13 vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.12 vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.11.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile
logstash-output-scalyr-0.1.10.beta vendor/bundle/jruby/2.5.0/gems/rbzip2-0.3.0/Rakefile