about summary refs log tree commit diff stats
path: root/build1
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2018-03-13 08:37:19 -0700
committerKartik K. Agaram <vc@akkartik.com>2018-03-13 08:37:19 -0700
commit075498ec164b53600cf33d8fd070c003b1dc8cdf (patch)
tree664474f4fb6821a4c5f05f0f80440215f75b6d33 /build1
parentc912b7319fb204e95e6d97c2c9c182bcaca8f93e (diff)
downloadmu-075498ec164b53600cf33d8fd070c003b1dc8cdf.tar.gz
4220
Diffstat (limited to 'build1')
-rw-r--r--build16
1 files changed, 2 insertions, 4 deletions
diff --git a/build1 b/build1
index 2419ce4a..3aeb52ee 100644
--- a/build1
+++ b/build1
@@ -1,6 +1,8 @@
 #!/bin/sh
 # Alternative to build0 that supports a --until flag to include only a subset
 # of layers.
+#   $ ./build1 --until 050
+UNTIL_LAYER=${2:-zzz}
 
 set -v
 set -e  # stop immediately on error
@@ -18,10 +20,6 @@ export CFLAGS="$CFLAGS -Wall -Wextra -ftrapv -fno-strict-aliasing"
 # (layers)   |        |
 #          tangle   $CXX
 
-# can also be called with a layer to only build until
-#   $ ./build1 --until 050
-UNTIL_LAYER=${2:-zzz}
-
 $CXX $CFLAGS enumerate/enumerate.cc -o enumerate/enumerate
 
 cd tangle