about summary refs log tree commit diff stats
path: root/cpp/build_and_test_until
blob: cd0db64bdb61875c2174eccf3f24add085181014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
make autogenerated_lists
g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc -o mu
./mu test