Commit e332cd65c9

Andrew Kelley <superjoe30@gmail.com>
2017-04-04 08:02:51
zig build system: delete ./build file on success
see #204
1 parent 1c6000d
Changed files (1)
src/main.cpp
@@ -198,6 +198,8 @@ int main(int argc, char **argv) {
                 fprintf(stderr, " %s", args.at(i));
             }
             fprintf(stderr, "\n");
+        } else {
+            os_delete_file(buf_create_from_str("./build"));
         }
         return (term.how == TerminationIdClean) ? term.code : -1;
     }