diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 11:03:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 11:03:55 -0700 |
commit | 48f6d48ac99e321278fbab857566fe4ea4d53c4b (patch) | |
tree | 30122e9b10cc58d947c57f4778587533e7ec38c8 | |
parent | 0536b89b990e5dd116251066e6282c17b079503a (diff) | |
download | mu-48f6d48ac99e321278fbab857566fe4ea4d53c4b.tar.gz |
3548
-rwxr-xr-x | build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build index 67ea0f8e..5d5d0fc7 100755 --- a/build +++ b/build @@ -98,7 +98,9 @@ older_than mu.cc $LAYERS enumerate/enumerate tangle/tangle && { # exception to the rules above: we combine 'older_than' and 'update' here # because we sometimes want to hack directly on mu.cc and not lose our # changes if they're newer. - ./tangle/tangle $LAYERS |update mu.cc + # ./tangle/tangle $LAYERS |update mu.cc + ./tangle/tangle $LAYERS > mu_tmp.cc # die if this fails + cat mu_tmp.cc |update mu.cc } older_than cleave/cleave cleave/cleave.cc && { @@ -147,3 +149,4 @@ exit 0 # scenarios considered: # no output when nothing needs updating # only a single layer is recompiled when changing a C++ function +# stop immediately after failure in tangle |