summaryrefslogtreecommitdiff
path: root/mbld/clean.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-01-11 11:24:31 -0800
committerOri Bernstein <ori@markovcorp.com>2017-01-11 11:24:31 -0800
commit14d657bd447f9384130ba321324052d94a420ca1 (patch)
tree359724b743ec2956630542eb040436a838023b3f /mbld/clean.myr
parent8a92415ad8220c1f651b0ed6338efb072e848d5c (diff)
downloadmc-14d657bd447f9384130ba321324052d94a420ca1.tar.gz
Suppress prints when doing '-R'
Diffstat (limited to 'mbld/clean.myr')
-rw-r--r--mbld/clean.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbld/clean.myr b/mbld/clean.myr
index 68e4677..1e317fe 100644
--- a/mbld/clean.myr
+++ b/mbld/clean.myr
@@ -23,7 +23,7 @@ const cleanall = {b
| `Gen gt:
for f in gt.out
if !gt.durable && std.remove(f)
- std.put("\tclean {}\n", f)
+ mbldput("\tclean {}\n", f)
;;
;;
| `Data _: /* nothing to do */
@@ -48,7 +48,7 @@ const clean = {b, targ
| `Gen gt:
for f in gt.out
if !gt.durable && std.remove(f)
- std.put("\tclean {}\n", f)
+ mbldput("\tclean {}\n", f)
;;
;;
| `Data _: /* nothing to do */
@@ -81,11 +81,11 @@ const cleanup = {b, targ, leaves
keys = std.htkeys(dg.deps)
for k in keys
if !std.htgetv(mchammer_files, k, false) && std.remove(k)
- std.put("\tclean {}\n", k)
+ mbldput("\tclean {}\n", k)
;;
test = std.pathcat("test", k)
if std.remove(test)
- std.put("\tclean {}\n", test)
+ mbldput("\tclean {}\n", test)
;;
std.slfree(test)
;;