Sha256: 86e9511055071c55122c1829f4dce7c7c187089a0e022f690e55a5aa885becec
Contents?: true
Size: 1004 Bytes
Versions: 1
Compression:
Stored size: 1004 Bytes
Contents
#!/usr/bin/env ruby # -*- encoding: utf-8 -*- # # Author:: HIGUCHI Daisuke (<d-higuchi@creationline.com>) # # Copyright (C) 2013, HIGUCHI Daisuke # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'rake' require 'rspec/core/rake_task' require 'rbconfig' base_path = File.expand_path(ARGV.shift) RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_path = RbConfig::CONFIG['bindir'] + '/rspec' t.ruby_opts = [ "-I#{base_path}" ] t.pattern = "#{base_path}/**/*_spec.rb" end Rake::Task["spec"].invoke
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
busser-rspec-0.1.0 | lib/busser/rspec/runner.rb |