1 Star 0 Fork 0

Gitee 组/ruby-net-ldap

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Rakefile 655 Bytes
Copy Edit Raw Blame History
Jerry Cheung authored 2016-01-12 13:42 +08:00 . enable rubocop in ci
# -*- 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: Bundler.current_ruby.mri? ? [:test, :rubocop] : [:test]
desc 'Run tests and RuboCop'
task rubotest: [:test, :rubocop]
task default: Bundler.current_ruby.mri? ? [:test, :rubocop] : [:test]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mayun-team/ruby-net-ldap.git
git@gitee.com:mayun-team/ruby-net-ldap.git
mayun-team
ruby-net-ldap
ruby-net-ldap
master

Search