Jim Weirich wrote: > > I tried to use Rake once, and I could not get it to execute a command if a > > file had changed. That could just be me. > > Hmmm ... where did you have problems? I'm always looking for ways to improve > rake, including the documentation. Here: 'file.exe' => ['file.cpp', 'file.h'] `cc file.cpp` Run the cc line if .cpp or .h changed. All documentation everywhere has this problem. The author takes something for granted and the reader misses it. I went with this: if make('file.exe', ['file.cpp', 'file.h']) then `cc file.cpp` end make() just reports true if any of its right arguments have a greater file mod time than its first argument. The problem with that technique is it uses no elaborate blocks or => marks, or Rake. -- Phlip http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces