Sha256: 6a2d6710f92211c05acafd045783f1fa8a2d7afcdf9367df075fee2b15670f73

Contents?: true

Size: 990 Bytes

Versions: 1

Compression:

Stored size: 990 Bytes

Contents

# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.

begin
  require 'bones'
  Bones.setup
rescue LoadError
  begin
    load 'tasks/setup.rb'
  rescue LoadError
    raise RuntimeError, '### please install the "bones" gem ###'
  end
end

ensure_in_path 'lib'
require 'surpass'

task :default => 'spec:run'

PROJ.name = 'surpass'
PROJ.authors = 'Ana Nelson'
PROJ.email = 'ana@ananelson.com'
PROJ.url = 'https://surpass.rubyforge.org'
PROJ.version = Surpass::VERSION
PROJ.rubyforge.name = 'surpass'

PROJ.ignore_file = '.bzrignore'

PROJ.spec.opts << '--color'

PROJ.exclude = %w{.bzr webby surpass-manual-* examples spec tasks stats .DS_Store}

desc "Run all examples (except the big ones) in examples dir."
task :examples do
  `ls examples/*.rb`.chomp.split("\n").each_with_index do |f, i|
    next if f =~ /big/
    puts "processing #{f}..."
    `ruby #{f}`
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
surpass-0.0.4 Rakefile