move build_tests_spec.rb back into spec, remove build_tests rake task
This commit is contained in:
parent
ddb5357b02
commit
cc2c2733fc
2
.gitignore
vendored
2
.gitignore
vendored
@ -15,4 +15,4 @@ spec/reports
|
|||||||
test/tmp
|
test/tmp
|
||||||
test/version_tmp
|
test/version_tmp
|
||||||
tmp
|
tmp
|
||||||
build_tests_run
|
build_test_run
|
||||||
|
13
Rakefile.rb
13
Rakefile.rb
@ -10,21 +10,12 @@ require "rspec/core/rake_task"
|
|||||||
require "rake/clean"
|
require "rake/clean"
|
||||||
require "yard"
|
require "yard"
|
||||||
|
|
||||||
CLEAN.include 'build_tests_run'
|
CLEAN.include 'build_test_run'
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:spec) do |task|
|
RSpec::Core::RakeTask.new(:spec)
|
||||||
task.rspec_opts = "--default-path spec"
|
|
||||||
end
|
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:build_tests) do |task|
|
|
||||||
task.rspec_opts = "--default-path build_tests"
|
|
||||||
task.pattern = "build_tests/*_spec.rb"
|
|
||||||
end
|
|
||||||
|
|
||||||
YARD::Rake::YardocTask.new do |yard|
|
YARD::Rake::YardocTask.new do |yard|
|
||||||
yard.files = ['lib/**/*.rb']
|
yard.files = ['lib/**/*.rb']
|
||||||
end
|
end
|
||||||
|
|
||||||
task :default => :spec
|
task :default => :spec
|
||||||
|
|
||||||
task :tests => [:spec, :build_tests]
|
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
require "simplecov"
|
|
||||||
|
|
||||||
SimpleCov.start do
|
|
||||||
add_filter "/build_tests/"
|
|
||||||
command_name("build_tests")
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rscons"
|
|
Loading…
x
Reference in New Issue
Block a user