diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-07-04 20:53:26 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-07-04 20:53:26 -0700 |
commit | fa3d7edce4eebe54736dc1020752a0f7fa1c35d4 (patch) | |
tree | 15612ae8b57a28642ddb34b741b8969878e26ed8 /mu | |
parent | 57bcdaeefa83bdccc5ea15dd273747b0b50e836a (diff) | |
download | mu-fa3d7edce4eebe54736dc1020752a0f7fa1c35d4.tar.gz |
1706 - automatically recompile mu when necessary
Diffstat (limited to 'mu')
-rwxr-xr-x | mu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mu b/mu new file mode 100755 index 00000000..cd4019c5 --- /dev/null +++ b/mu @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# +# Compile mu if necessary before running it. + +# show make output only if something needs doing +make -q || make >&2 || exit 1 + +./mu_bin "$@" |