git.annexia.org
/
goals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c49d76
)
stdlib: Add is-ignored predicate
master
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 13 Oct 2025 12:30:06 +0000
(13:30 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 13 Oct 2025 12:30:06 +0000
(13:30 +0100)
stdlib/prelude.gl
patch
|
blob
|
history
diff --git
a/stdlib/prelude.gl
b/stdlib/prelude.gl
index
32adf5c
..
a2d804d
100644
(file)
--- a/
stdlib/prelude.gl
+++ b/
stdlib/prelude.gl
@@
-37,6
+37,9
@@
predicate is-file-exists (filename) = @{
test -f %filename || exit 99
}
test -f %filename || exit 99
}
+# Ignore parameter and always resolve to not rebuilding.
+predicate is-ignored (s) = @{ exit 0 }
+
#----------------------------------------------------------------------
# Basic functions.
#----------------------------------------------------------------------
# Basic functions.