shithub: mc

Download patch

ref: 68266464ce4d9d15698cc036862ce1102c66d75e
parent: e989bbf2b6d71c6ce9f9bb438f31097110fff1d6
author: Ori Bernstein <[email protected]>
date: Fri Dec 4 07:20:22 EST 2015

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.

--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -143,6 +143,7 @@
 	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