Implement tactics.
[goals.git] / tests / test1.gl
index ec4011f..d944b94 100644 (file)
@@ -7,3 +7,8 @@ goal compile (name) =
   echo %< "->" %@
   touch %@
 }
+
+tactic *file (filename) = {
+    test -f %filename || exit 99
+    # XXX older than %<
+}
\ No newline at end of file