Repository URL to install this package:
|
Version:
4.0 ▾
|
getfitter
/
Rakefile
|
|---|
##
# Initialise Bundler, catch errors.
##
require 'bundler'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts 'Run `bundle install` to install missing gems.'
exit e.status_code
end
##
# Configure the test suite.
##
RSpec::Core::RakeTask.new(:spec)
##
# By default, just run the tests.
##
task default: :spec