Sha256: aee685d2069cfbb4ebbbc763f877efcb61dbb07a2d389246fa35c9e02cce1629

Contents?: true

Size: 709 Bytes

Versions: 18

Compression:

Stored size: 709 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

# Travis support
# cite from https://github.com/CocoaPods/Xcodeproj/blob/master/Rakefile
def on_rvm?
  `which ruby`.strip.include?('.rvm')
end

def rvm_ruby_dir
  @rvm_ruby_dir ||= File.expand_path('../..', `which ruby`.strip)
end

desc 'Install dependencies'
task :bootstrap, :use_bundle_dir? do |t, args|
  options = []
  options << "--without=documentation"
  options << "--path ./travis_bundle_dir" if args[:use_bundle_dir?]
  sh "bundle install #{options * ' '}"
end

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new(:spec) do |spec|
    spec.pattern = 'spec/**/*_spec.rb'
    spec.rspec_opts = ['-cfs']
  end
rescue LoadError => e
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ib-1.0.1 Rakefile
ib-1.0 Rakefile
ib-0.8.0 Rakefile
ib-0.7.2 Rakefile
ib-0.7.1 Rakefile
ib-0.7.0 Rakefile
ib-0.6.0 Rakefile
ib-0.5.0 Rakefile
ib-0.4.9 Rakefile
ib-0.4.8 Rakefile
ib-0.4.7 Rakefile
ib-0.4.6 Rakefile
ib-0.4.5 Rakefile
ib-0.4.4 Rakefile
ib-0.4.3 Rakefile
ib-0.4.2 Rakefile
ib-0.4.1 Rakefile
ib-0.4.0 Rakefile