ref: 88cbe95a616e1cd947d0e30ab19368602b00b753
parent: 63a4761cd85ae3d8c5c2ce6327b29886215ef2b8
author: Ori Bernstein <[email protected]>
date: Fri Dec 4 05:56:45 EST 2015
Make building less noisy.
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -117,7 +117,7 @@
setdir(b, targ.dir)
addincludes(b, targ)
- std.put("{}...\n", targ.name)
+ std.put("{}/{}...\n", b.curdir, targ.name)
dg = myrdeps(b, targ, false, addsrc)
if !std.hthas(dg.deps, targ.name)
std.fatal("no input files for {}\n", targ.name)
@@ -145,7 +145,7 @@
setdir(b, targ.dir)
addincludes(b, targ)
lib = targ.name
- std.put("lib{}.a...\n", lib)
+ std.put("{}/lib{}.a...\n", b.curdir, lib)
archive = std.fmt("lib{}.a", lib)
dg = myrdeps(b, targ, false, false)
if !std.hthas(dg.deps, lib)
--- a/mbld/util.myr
+++ b/mbld/util.myr
@@ -110,11 +110,6 @@
if !std.sleq(b.curdir, dir)
p = std.pathcat(b.basedir, dir)
- if b.curdir.len != 0
- std.put("Leaving directory '{}'\n", b.curdir)
- ;;
-
- std.put("Entering directory '{}'\n", dir)
if !std.chdir(p)
std.fatal("could not cd into {}\n", p)
;;