about summary refs log tree commit diff stats
path: root/build_and_test_until
diff options
context:
space:
mode:
Diffstat (limited to 'build_and_test_until')
-rwxr-xr-xbuild_and_test_until11
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