From 8da109fa1ec17fb4096470fe97135f41cdd3345b Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 2 Oct 2009 19:07:55 +0000 Subject: * lib/rake: updated to rake code to rake-0.8.7 source code base. * lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line): respace dependencies too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rake/data/dryrun/Rakefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/rake/data/dryrun/Rakefile (limited to 'test/rake/data/dryrun') diff --git a/test/rake/data/dryrun/Rakefile b/test/rake/data/dryrun/Rakefile new file mode 100644 index 000000000..0a68a0d60 --- /dev/null +++ b/test/rake/data/dryrun/Rakefile @@ -0,0 +1,22 @@ +# + +task :default => ["temp_main"] + +file "temp_main" => [:all_apps] do touch "temp_main" end + +task :all_apps => [:one, :two] +task :one => ["temp_one"] +task :two => ["temp_two"] + +file "temp_one" do |t| + touch "temp_one" +end +file "temp_two" do |t| + touch "temp_two" +end + +task :clean do + ["temp_one", "temp_two", "temp_main"].each do |file| + rm_f file + end +end -- cgit