diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-07-10 11:08:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-07-10 11:08:54 -0700 |
commit | 49559e007b8049164fecb2750a8a736a3495b589 (patch) | |
tree | 239ac9ffe67f62d952754f9c3e82b3251207d8d1 /build | |
parent | ec99eb7a2aa67b55d0fdc1dcb9c40e59d8ec42a7 (diff) | |
download | mu-49559e007b8049164fecb2750a8a736a3495b589.tar.gz |
3967
Diffstat (limited to 'build')
-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 |