about summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-25 00:58:20 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-25 00:58:20 -0700
commit1a7b15aa3d2873983bec5787e565695ed194fbae (patch)
tree9e826ce01d139632d4d9f09e8e3896c6280aa10e /build
parent380fc367b8b17c98e3a0472675149e4c669eb9b4 (diff)
downloadmu-1a7b15aa3d2873983bec5787e565695ed194fbae.tar.gz
skip building apps when running a single test
Environment variables allow me to have non-local effects inside scripts.
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index ed266455..ad0f6e8a 100755
--- a/build
+++ b/build
@@ -106,7 +106,7 @@ older_than subx_bin subx.cc *_list && {
   $CXX $CFLAGS subx.cc -o subx_bin
 }
 
-if [ $# -eq 0 ]
+if [ ! $ONLY_CPP ]
 then
 
   # Assumption: SubX programs don't need to be retranslated every time we