Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit a6d9b82

Browse files
committedMar 30, 2021
tweak names
1 parent 6995993 commit a6d9b82

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎src/build.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ void BuildStatus::PrintStatus(Edge* edge, EdgeStatus status) {
316316

317317
bool force_full_command = config_.verbosity == BuildConfig::VERBOSE;
318318
char buf[40];
319-
snprintf(buf,sizeof(buf),"bsb: [%d/%d] ",finished_edges_,total_edges_);
319+
snprintf(buf,sizeof(buf),"rescript: [%d/%d] ",finished_edges_,total_edges_);
320320
string to_print = buf + edge->outputs_[0]->path();
321321

322322
#if 0

‎src/ninja.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ int NinjaMain::RunBuild(int argc, char** argv) {
11621162

11631163
if (builder.AlreadyUpToDate()) {
11641164
if (config_.verbosity == BuildConfig::VERBOSE) {
1165-
printf("bsb: no work to do.\n");
1165+
printf("rescript: no work to do.\n");
11661166
}
11671167
return 0;
11681168
}
@@ -1328,7 +1328,7 @@ NORETURN void real_main(int argc, char** argv) {
13281328
// Don't print this if a tool is being used, so that tool output
13291329
// can be piped into a file without this string showing up.
13301330
if (!options.tool && config.verbosity == BuildConfig::VERBOSE)
1331-
printf("bsb: Entering directory `%s'\n", options.working_dir);
1331+
printf("rescript: Entering directory `%s'\n", options.working_dir);
13321332
if (chdir(options.working_dir) < 0) {
13331333
Fatal("chdir to '%s' - %s", options.working_dir, strerror(errno));
13341334
}

‎src/util.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ void Warning(const char* msg, ...) {
139139
void Error(const char* msg, ...) {
140140
va_list ap;
141141
if (GetAnsiType()){
142-
fprintf(stderr, "\x1b[31m" "bsb: error: " "\x1b[0m");
142+
fprintf(stderr, "\x1b[31m" "rescript: error: " "\x1b[0m");
143143
} else {
144-
fprintf(stderr, "bsb: error: ");
144+
fprintf(stderr, "rescript: error: ");
145145
}
146146
va_start(ap, msg);
147147
vfprintf(stderr, msg, ap);

0 commit comments

Comments
 (0)
This repository has been archived.