#!/bin/csh -f

# simple script for testing (for Mac and Linux) to run all apps; user can ^C each app

foreach i ( basic/* advanced/* )
  if -d "$i" then
    set cgexample = "$i/$i:t"
    if -e "$cgexample" then
      echo "RUNNING $cgexample"
      onintr next
      (cd $i;./$i:t)
      onintr
      next:
    endif
  endif
end
