summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-04 12:20:22 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-04 12:20:22 -0800
commit68266464ce4d9d15698cc036862ce1102c66d75e (patch)
tree2e47726808f4f401b7ba0bb57fbbf55b6a2bd5b9 /mbld
parente989bbf2b6d71c6ce9f9bb438f31097110fff1d6 (diff)
downloadmc-68266464ce4d9d15698cc036862ce1102c66d75e.tar.gz
Output base directory for build.
This allows editors to know which files to open on error, even if we're running from a subdirectory of the project.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/main.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 1f6b8c3..200c3e8 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -143,6 +143,7 @@ const findbase = {b, file
while !std.sleq(dir, "/")
bld = std.pathcat(dir, file)
if std.fexists(bld)
+ std.put("project base {}:\n", dir)
b.basedir = dir
b.bldfile = bld
-> true