From 49559e007b8049164fecb2750a8a736a3495b589 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 10 Jul 2017 11:08:54 -0700 Subject: 3967 --- build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build') 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 -- cgit 1.4.1-2-gfad0