From: Jim Weirich Date: 2005-03-28T06:11:56+09:00 Subject: Re: [ANN] Rake 0.5.0 Release On Sunday 27 March 2005 10:24 am, Phlip wrote: > Jim Weirich wrote: > > But, your simple example can be rendered in Rake as ... > > > > file "file.exe" => ['file.cpp', 'file.h'] do > > sh %{cc file.cpp -o file.exe} > > end > > Is that the complete Rakefile? Complete enough to build the file.exe upon request (e.g. "rake file.exe" from the command line). If you wish to make file.exe the default target (so that a plain "rake" one the command line will work), you can add the following line ... task :default => ["file.exe"] -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)