diff options
-rwxr-xr-x | build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build b/build index 46e4b270..5a3cae9e 100755 --- a/build +++ b/build @@ -1,6 +1,6 @@ #!/bin/sh -# returns 0 on successful build or nothing to build -# non-zero exit status only on error during building +# For details on the basic form of this script, see https://notabug.org/akkartik/basic-build. + set -e # stop immediately on error # [0-9]*.cc -> mu.cc -> .build/*.cc -> .build/*.o -> .build/mu_bin @@ -140,6 +140,7 @@ cat $MU_LAYERS |update core.mu exit 0 # scenarios considered: +# 0 status when nothing needs updating # no output when nothing needs updating # no output for mu.cc when .mu files modified # touch mu.cc but don't modify it; no output on second build |