From 5763322b9cc8cf8c8caed6b62919a680ed907c9a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 13 Mar 2018 09:04:07 -0700 Subject: 4221 - more docs about build process --- build0 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'build0') diff --git a/build0 b/build0 index 20344bdf..efcbfcd3 100644 --- a/build0 +++ b/build0 @@ -5,14 +5,22 @@ set -v set -e # stop immediately on error cd tangle + # auto-generate various lists (ending in '_list' by convention) { + # list of types { grep -h "^struct .* {" [0-9]*.cc |sed 's/\(struct *[^ ]*\).*/\1;/' grep -h "^typedef " [0-9]*.cc } > type_list + # list of function declarations, so I can define them in any order grep -h "^[^ #].*) {" [0-9]*.cc |sed 's/ {.*/;/' > function_list + # list of code files to compile ls [0-9]*.cc |grep -v "\.test\.cc$" |sed 's/.*/#include "&"/' > file_list + # list of test files to compile ls [0-9]*.test.cc |sed 's/.*/#include "&"/' > test_file_list + # list of tests to run grep -h "^[[:space:]]*void test_" [0-9]*.cc |sed 's/^\s*void \(.*\)() {$/\1,/' > test_list + # } + # Now that we have all the _lists, compile 'tangle' g++ -g -O3 boot.cc -o tangle cd .. @@ -23,7 +31,12 @@ cd termbox cd .. ./tangle/tangle [0-9]*.cc > mu.cc +# auto-generate function declarations, so I can define them in any order +# functions start out unindented, have all args on the same line, and end in ') {' +# +# \/ ignore methods grep -h "^[^[:space:]#].*) {$" mu.cc |grep -v ":.*(" |sed 's/ {.*/;/' > function_list +# auto-generate list of tests to run grep -h "^\s*void test_" mu.cc |sed 's/^\s*void \(.*\)() {.*/\1,/' > test_list g++ -g -O3 mu.cc termbox/libtermbox.a -o mu_bin -- cgit 1.4.1-2-gfad0 red/settings.py?h=v1.6.0'>stats
path: root/ranger/shared/settings.py
blob: c01e579600ea43f571d34f468e98c4946ccecfb8 (plain) (blame)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116