about summary refs log tree commit diff stats
path: root/build_until
diff options
context:
space:
mode:
Diffstat (limited to 'build_until')
-rwxr-xr-xbuild_until15
1 files changed, 15 insertions, 0 deletions
diff --git a/build_until b/build_until
new file mode 100755
index 00000000..42d44bc7
--- /dev/null
+++ b/build_until
@@ -0,0 +1,15 @@
+#!/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.
+
+set -e
+set -v
+make --no-print-directory tangle/tangle
+make --no-print-directory enumerate/enumerate
+
+./tangle/tangle $(./enumerate/enumerate --until $1 |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc
+make --no-print-directory autogenerated_lists
+
+cat /dev/null $(./enumerate/enumerate --until $1 |grep '.mu$') > core.mu
+
+CFLAGS=${CFLAGS:-"-g -O3"} make
>
8d82da3c ^

b24eb476 ^
f40137f1 ^
8d82da3c ^
b24eb476 ^
8d82da3c ^






6c96a437 ^
8d82da3c ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46