stdlib: Add is-ignored predicate master
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 13 Oct 2025 12:30:06 +0000 (13:30 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 13 Oct 2025 12:30:06 +0000 (13:30 +0100)
stdlib/prelude.gl

index 32adf5c..a2d804d 100644 (file)
@@ -37,6 +37,9 @@ predicate is-file-exists (filename) = @{
     test -f %filename || exit 99
 }
 
+# Ignore parameter and always resolve to not rebuilding.
+predicate is-ignored (s) = @{ exit 0 }
+
 #----------------------------------------------------------------------
 # Basic functions.