File: Rakefile

package info (click to toggle)
ruby-redcloth 4.2.9-2%2Bdeb7u2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 712 kB
  • sloc: ruby: 1,206; ansic: 201; makefile: 16
file content (18 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# encoding: utf-8
require 'rubygems'
require 'bundler'
ENV['RUBYOPT'] = nil # Necessary to prevent Bundler from *&^%$#ing up rake-compiler.

require 'rake/clean'

if File.directory? "ragel"
  Bundler.setup
  Bundler::GemHelper.install_tasks
  Dir['tasks/**/*.rake'].each { |rake| load File.expand_path(rake) }
else
  # Omit generation/compile tasks and dependencies. In a gem package 
  # we only need tasks and dependencies required for running specs.
  Bundler.settings.without = [:compilation]
  Bundler.setup(:default, :development)
  load 'tasks/rspec.rake'
end