blob: 6c4696043b47be9daef972ab9e85bec4d3ce968e (
plain) (
tree)
|
|
#!/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 autogenerated_lists
g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc -o mu
./mu test
|