diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 21:17:24 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 21:17:24 -0700 |
commit | b96af395b9af2ff9df94b3e82213171f30827c8d (patch) | |
tree | 17c8c12648ccc25625e2534ec8d74fbe8f1542cc /build_and_test_until | |
parent | 2e3b597fe85b654e82b891c22d50754fa5a26156 (diff) | |
download | mu-b96af395b9af2ff9df94b3e82213171f30827c8d.tar.gz |
1276 - make C++ version the default
I've tried to update the Readme, but there are at least a couple of issues.
Diffstat (limited to 'build_and_test_until')
-rwxr-xr-x | build_and_test_until | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build_and_test_until b/build_and_test_until new file mode 100755 index 00000000..916e93e8 --- /dev/null +++ b/build_and_test_until @@ -0,0 +1,11 @@ +#!/bin/sh +# Load all files sorting before the given argument. +# You can pass in a prefix, but files matching the prefix *won't* be included. + +set -e +set -v +make tangle/tangle +make enumerate/enumerate +./tangle/tangle $(./enumerate/enumerate --until $* |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc +cat /dev/null $(./enumerate/enumerate --until $* |grep '.mu$') > core.mu +make valgrind |