Sha256: 0d0dd2a398cbce6e4bb0b4d95825860903e09e61812c230407ca8d6f5160846c

Contents?: true

Size: 758 Bytes

Versions: 2

Compression:

Stored size: 758 Bytes

Contents

# encoding: utf-8

require 'bundler'
begin
  Bundler.setup
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

$:.unshift(File.join(File.dirname(__FILE__), './lib'))
require 'citeproc/version'


desc 'Run an IRB session with CiteProc loaded'
task :console, [:script] do |t,args|
  ARGV.clear

  require 'irb'
  require 'citeproc'
  
  IRB.conf[:SCRIPT] = args.script
  IRB.start
end

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber)

task :default => :spec

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
citeproc-1.0.0.pre1 Rakefile
citeproc-0.0.9 Rakefile