diff options
Diffstat (limited to 'build_until')
-rwxr-xr-x | build_until | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/build_until b/build_until deleted file mode 100755 index 520ec16a..00000000 --- a/build_until +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# Load all files sorting before the given argument. -# You can pass in a prefix, but files matching the prefix *won't* be included. - -# We'll avoid using cleave/ here and use the old flow for building everything -# every single time: -# -# layers -> mu.cc -> mu_bin -# | | -# tangle g++ -# -# This has the nice side-effect of acting like an earlier/simpler 'layer' for -# the build system. - -set -e -set -v - -( cd enumerate && make; ) -( cd tangle && make; ) - -# build mu_bin -./tangle/tangle $(./enumerate/enumerate --until ${1:-zzz} |grep -v '.mu$') > mu.cc - -( cd termbox && make; ) - -grep -h "^[^[:space:]#].*) {$" mu.cc |grep -v ":.*(" |sed 's/ {.*/;/' > function_list -grep -h "^\s*void test_" mu.cc |sed 's/^\s*void \(.*\)() {.*/\1,/' > test_list - -eval ${CXX:-c++} ${CXXFLAGS:-"-g -O3"} -Wall -Wextra -ftrapv -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu_bin - -# build core.mu -cat /dev/null $(./enumerate/enumerate --until ${1:-zzz} |grep '.mu$') > core.mu |