diff --git a/rakefile.rb b/rakefile.rb index ba457e1..ce3ec59 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -10,6 +10,8 @@ require 'rake/clean' require 'rake/testtask' require './rakefile_helper' +require 'rspec/core/rake_task' + include RakefileHelpers DEFAULT_CONFIG_FILE = 'gcc.yml' @@ -101,4 +103,9 @@ end task :no_color do $colour_output = false end + +RSpec::Core::RakeTask.new(:spec) do |t| + spec_path = File.join(CMOCK_ROOT, 'spec') + t.pattern = spec_path + '/spec/*_spec.rb' +end \ No newline at end of file