diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:22:17 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:22:17 -0700 |
commit | 6a9d8191dfb5606f8d3630375f3ec045bd534ba3 (patch) | |
tree | a391cbcf7f193f7a5b3f2e9822829f21e5f80cf6 | |
parent | b9dcb70b338287a764ddcbbb834094853e94a9b6 (diff) | |
download | mu-6a9d8191dfb5606f8d3630375f3ec045bd534ba3.tar.gz |
3557
-rw-r--r-- | 000organization.cc | 8 | ||||
-rw-r--r-- | 001help.cc | 4 | ||||
-rw-r--r-- | 002test.cc | 2 | ||||
-rw-r--r-- | index.html | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/000organization.cc b/000organization.cc index 4214c0eb..a29a8813 100644 --- a/000organization.cc +++ b/000organization.cc @@ -94,16 +94,16 @@ // Types // End Types -// Prototypes are auto-generated in the makefile; define your functions in any -// order. Just be sure to declare each function header all on one line. Our -// auto-generation scripts are too minimal and simple-minded to handle +// Prototypes are auto-generated in the 'build' script; define your functions +// in any order. Just be sure to declare each function header all on one line. +// Our auto-generation scripts are too minimal and simple-minded to handle // anything else. #include "function_list" // by convention, files ending with '_list' are auto-generated // Globals // // All statements in this section should always define a single variable on a -// single line. The makefile will simple-mindedly auto-generate extern +// single line. The 'build' script will simple-mindedly auto-generate extern // declarations for them. Don't forget to define (not just declare) constants // with extern linkage in this section, since C++ global constants have // internal linkage by default. diff --git a/001help.cc b/001help.cc index 0f60bf09..03c21d4c 100644 --- a/001help.cc +++ b/001help.cc @@ -58,8 +58,8 @@ while (argc > 1 && starts_with(*arg, "--")) { //: anywhere we like as long as we format the function header in a specific //: way: put it all on a single line without indent, end the line with ') {' //: and no trailing whitespace. As long as functions uniformly start this -//: way, our makefile contains a little command to automatically generate -//: declarations for them. +//: way, our 'build' script contains a little command to automatically +//: generate declarations for them. :(code) bool is_equal(char* s, const char* lit) { return strncmp(s, lit, strlen(lit)) == 0; diff --git a/002test.cc b/002test.cc index 6bb71b6c..72e2b95f 100644 --- a/002test.cc +++ b/002test.cc @@ -13,7 +13,7 @@ typedef void (*test_fn)(void); :(before "Globals") // move a global ahead into types that we can't generate an extern declaration for const test_fn Tests[] = { - #include "test_list" // auto-generated; see makefile + #include "test_list" // auto-generated; see 'build' script }; :(before "End Globals") diff --git a/index.html b/index.html index 0dada6bf..2d178504 100644 --- a/index.html +++ b/index.html @@ -64,8 +64,8 @@ that point. <a href='http://akkartik.name/post/wart-layers'>More details →< to show how to hook into the skeleton. Also summarizes how to invoke Mu, behaviors that later layers will be providing. <br/><a href='html/002test.cc.html'>002test.cc</a>: Mu's minimalist test -harness, relying on a couple of one-liners in the makefile to auto-generate -lists of tests to run. +harness, relying on a couple of one-liners in the <tt>build</tt> script to +auto-generate lists of tests to run. <br/><a href='html/003trace.cc.html'>003trace.cc</a>: support for logging facts about our program, and for <a href='http://akkartik.name/post/tracing-tests'>checking the facts logged in tests</a>. (<a href='html/003trace.test.cc.html'>tests for the tracing system</a>) |