Sha256: 687f9418c1e0c2c8b1cbc84364a49b44e200bc9c4d67e9114e70d851f4c49e15

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

# encoding: utf-8

require 'bundler/gem_tasks'
require 'bundler/setup'
require 'rake/testtask'

task :default => :test

task :"test:prerequisites" do
    raise 'Please define DELPHI_VERSION environment variable' \
		+ ' to run tests with appropriate Delphi compiler' unless ENV['DELPHI_VERSION']
end

Rake::TestTask.new('test') do |t|
    t.ruby_opts << '-d' if Rake.application.options.trace
    t.libs << 'test'
    t.verbose = true
    Rake::application[t.name].enhance([:"test:prerequisites"])
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake-delphi-0.0.26 Rakefile.rb