X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest1.gl;h=44c15a2d1cf5aa0cc770735a68dae7a6b61858fa;hb=109185686ffdc00520eba2b4c3a92f10a111fb60;hp=d944b944e8be379ad8988aef29255ae3f7b5c36c;hpb=214f84c3b07227767fef90934895a167b15113a1;p=goals.git diff --git a/tests/test1.gl b/tests/test1.gl index d944b94..44c15a2 100644 --- a/tests/test1.gl +++ b/tests/test1.gl @@ -1,14 +1,15 @@ # Test. +include "url.gl" + +let foo = "bar" + goal all = : "file1.o", *file("file2.o") +goal clean = { } + goal compile (name) = "%name.o" : "%name.c" { echo %< "->" %@ touch %@ } - -tactic *file (filename) = { - test -f %filename || exit 99 - # XXX older than %< -} \ No newline at end of file