Sha256: 2b3e6508e9c522e5d9c6525d757e26d2b3ce67db72413078c54b0b55ff0fd183

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

#!/usr/bin/env rake
# -*- 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

1 entries across 1 versions & 1 rubygems

Version Path
net-ldap-0.11 Rakefile