houdini/gems/bess/Rakefile

36 lines
766 B
Text
Raw Permalink Normal View History

# frozen_string_literal: true
2020-06-12 20:03:43 +00:00
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
require "bundler/setup"
2021-03-02 21:57:44 +00:00
load "rails/tasks/statistics.rake"
2021-03-02 22:32:20 +00:00
require "bundler/gem_tasks"
begin
require 'bundler/gem_tasks'
rescue LoadError
nil
end
require 'rubygems'
require 'bundler'
require 'rdoc/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
require 'rake'
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
task :default => :spec