Sha256: 8435634f6b313d732d44a18961c02dd5decbb99ec77e97edef1297ebbc792ca8

Contents?: true

Size: 912 Bytes

Versions: 38

Compression:

Stored size: 912 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end
require 'rspec/core/rake_task'

desc "Run specs"
RSpec::Core::RakeTask.new(:spec)

desc "Generate documentation"
RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'HttpLog'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

# ----- Packaging -----
task :build do
  sh "gem build httplog.gemspec"
  mkdir_p 'pkg'
  sh "mv *.gem pkg/ "
end

task :default => :spec

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
httplog-1.0.2 Rakefile
httplog-1.0.1 Rakefile
httplog-1.0.0 Rakefile
httplog-0.99.7 Rakefile
httplog-0.99.6 Rakefile
httplog-0.99.5 Rakefile
httplog-0.99.4 Rakefile
httplog-0.99.3 Rakefile
httplog-0.99.2 Rakefile
httplog-0.99.1 Rakefile
httplog-0.3.3 Rakefile
httplog-0.3.2 Rakefile
httplog-0.3.1 Rakefile
httplog-0.3.0 Rakefile
httplog-0.2.15 Rakefile
httplog-0.2.13 Rakefile
httplog-0.2.12 Rakefile
httplog-0.2.11 Rakefile
httplog-0.2.10 Rakefile
httplog-0.2.9 Rakefile