Sha256: 70daed5188d13ae098f1c5d549c397a80599f914c8674569e440ae13c281c80c

Contents?: true

Size: 607 Bytes

Versions: 8

Compression:

Stored size: 607 Bytes

Contents

# -*- ruby encoding: utf-8 -*-
# vim: syntax=ruby

require 'rake/testtask'
require 'rubocop/rake_task'
require 'bundler'

RuboCop::RakeTask.new

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/test_*.rb']
  t.verbose = true
  t.description = 'Run tests, set INTEGRATION=openldap to run integration tests, INTEGRATION_HOST and INTEGRATION_PORT are also supported'
end

desc 'Run tests and RuboCop (RuboCop runs on mri only)'
task ci: [:test]

desc 'Run tests and RuboCop'
task rubotest: [:test, :rubocop]

task default: Bundler.current_ruby.mri? ? [:test, :rubocop] : [:test]

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
net-ldap-0.16.2 Rakefile
net-ldap-0.16.1 Rakefile
net-ldap-0.16.0 Rakefile
net-ldap-0.15.0 Rakefile
net-ldap-0.14.0 Rakefile
net-ldap-0.13.0 Rakefile
net-ldap-0.12.1 Rakefile
net-ldap-0.12.0 Rakefile