git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jobs: Don't let Failure exception escape from worker.
[goals.git]
/
tests
/
test1.gl
diff --git
a/tests/test1.gl
b/tests/test1.gl
index
d944b94
..
85335ce
100644
(file)
--- a/
tests/test1.gl
+++ b/
tests/test1.gl
@@
-1,5
+1,9
@@
# Test.
# Test.
+include "url.gl"
+
+let foo = "bar"
+
goal all = : "file1.o", *file("file2.o")
goal compile (name) =
goal all = : "file1.o", *file("file2.o")
goal compile (name) =
@@
-7,8
+11,3
@@
goal compile (name) =
echo %< "->" %@
touch %@
}
echo %< "->" %@
touch %@
}
-
-tactic *file (filename) = {
- test -f %filename || exit 99
- # XXX older than %<
-}
\ No newline at end of file