Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1932b65992 |
No files matched your search
+1
-1
@@ -7,5 +7,5 @@
|
||||
/gen/
|
||||
/large_project/
|
||||
/pkg/
|
||||
/test/
|
||||
/test_run/
|
||||
/yard/
|
||||
+4
-4
@@ -9,7 +9,7 @@ require "rspec/core/rake_task"
|
||||
require "rake/clean"
|
||||
require "fileutils"
|
||||
|
||||
CLEAN.include %w[build_test_run .yardoc yard coverage test]
|
||||
CLEAN.include %w[build_test_run .yardoc yard coverage test_run]
|
||||
CLOBBER.include %w[dist gen large_project pkg]
|
||||
|
||||
task :build_dist do
|
||||
@@ -32,9 +32,9 @@ end
|
||||
# useful for coverage information.
|
||||
desc "Dist Specs"
|
||||
task :dspec, [:example_string] => :build_dist do |task, args|
|
||||
FileUtils.rm_rf("test")
|
||||
FileUtils.mkdir_p("test")
|
||||
FileUtils.cp("dist/rscons", "test/rscons.rb")
|
||||
FileUtils.rm_rf("test_run")
|
||||
FileUtils.mkdir_p("test_run")
|
||||
FileUtils.cp("dist/rscons", "test_run/rscons.rb")
|
||||
ENV["rscons_dist_specs"] = "1"
|
||||
Rake::Task["spec"].execute(args)
|
||||
ENV.delete("rscons_dist_specs")
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user