|
3 | 3 | (deps pp.exe (:input cenum_id_payload.ml))
|
4 | 4 | (targets cenum_id_payload.ml.errors)
|
5 | 5 | (action
|
6 |
| - (with-stderr-to |
7 |
| - %{targets} |
8 |
| - (run ./pp.exe --impl %{input})))) |
9 |
| - |
| 6 | + (progn |
| 7 | + (with-stderr-to %{targets} |
| 8 | + (run ./pp.exe --impl %{input})) |
| 9 | + (bash "sed -i.bak '1d' %{targets}")))) |
10 | 10 | (rule
|
11 | 11 | (alias runtest)
|
12 | 12 | (package ppx_cstruct)
|
|
17 | 17 | (deps pp.exe (:input cenum_invalid_type.ml))
|
18 | 18 | (targets cenum_invalid_type.ml.errors)
|
19 | 19 | (action
|
20 |
| - (with-stderr-to |
21 |
| - %{targets} |
22 |
| - (run ./pp.exe --impl %{input})))) |
23 |
| - |
| 20 | + (progn |
| 21 | + (with-stderr-to %{targets} |
| 22 | + (run ./pp.exe --impl %{input})) |
| 23 | + (bash "sed -i.bak '1d' %{targets}")))) |
24 | 24 | (rule
|
25 | 25 | (alias runtest)
|
26 | 26 | (package ppx_cstruct)
|
|
31 | 31 | (deps pp.exe (:input cenum_no_attribute.ml))
|
32 | 32 | (targets cenum_no_attribute.ml.errors)
|
33 | 33 | (action
|
34 |
| - (with-stderr-to |
35 |
| - %{targets} |
36 |
| - (run ./pp.exe --impl %{input})))) |
37 |
| - |
| 34 | + (progn |
| 35 | + (with-stderr-to %{targets} |
| 36 | + (run ./pp.exe --impl %{input})) |
| 37 | + (bash "sed -i.bak '1d' %{targets}")))) |
38 | 38 | (rule
|
39 | 39 | (alias runtest)
|
40 | 40 | (package ppx_cstruct)
|
|
45 | 45 | (deps pp.exe (:input cenum_not_a_variant.ml))
|
46 | 46 | (targets cenum_not_a_variant.ml.errors)
|
47 | 47 | (action
|
48 |
| - (with-stderr-to |
49 |
| - %{targets} |
50 |
| - (run ./pp.exe --impl %{input})))) |
51 |
| - |
| 48 | + (progn |
| 49 | + (with-stderr-to %{targets} |
| 50 | + (run ./pp.exe --impl %{input})) |
| 51 | + (bash "sed -i.bak '1d' %{targets}")))) |
52 | 52 | (rule
|
53 | 53 | (alias runtest)
|
54 | 54 | (package ppx_cstruct)
|
|
59 | 59 | (deps pp.exe (:input cenum_unknown_attribute.ml))
|
60 | 60 | (targets cenum_unknown_attribute.ml.errors)
|
61 | 61 | (action
|
62 |
| - (with-stderr-to |
63 |
| - %{targets} |
64 |
| - (run ./pp.exe --impl %{input})))) |
65 |
| - |
| 62 | + (progn |
| 63 | + (with-stderr-to %{targets} |
| 64 | + (run ./pp.exe --impl %{input})) |
| 65 | + (bash "sed -i.bak '1d' %{targets}")))) |
66 | 66 | (rule
|
67 | 67 | (alias runtest)
|
68 | 68 | (package ppx_cstruct)
|
|
73 | 73 | (deps pp.exe (:input cstruct_attribute_payload.ml))
|
74 | 74 | (targets cstruct_attribute_payload.ml.errors)
|
75 | 75 | (action
|
76 |
| - (with-stderr-to |
77 |
| - %{targets} |
78 |
| - (run ./pp.exe --impl %{input})))) |
79 |
| - |
| 76 | + (progn |
| 77 | + (with-stderr-to %{targets} |
| 78 | + (run ./pp.exe --impl %{input})) |
| 79 | + (bash "sed -i.bak '1d' %{targets}")))) |
80 | 80 | (rule
|
81 | 81 | (alias runtest)
|
82 | 82 | (package ppx_cstruct)
|
|
87 | 87 | (deps pp.exe (:input cstruct_duplicate_field.ml))
|
88 | 88 | (targets cstruct_duplicate_field.ml.errors)
|
89 | 89 | (action
|
90 |
| - (with-stderr-to |
91 |
| - %{targets} |
92 |
| - (run ./pp.exe --impl %{input})))) |
93 |
| - |
| 90 | + (progn |
| 91 | + (with-stderr-to %{targets} |
| 92 | + (run ./pp.exe --impl %{input})) |
| 93 | + (bash "sed -i.bak '1d' %{targets}")))) |
94 | 94 | (rule
|
95 | 95 | (alias runtest)
|
96 | 96 | (package ppx_cstruct)
|
|
101 | 101 | (deps pp.exe (:input cstruct_len_int32.ml))
|
102 | 102 | (targets cstruct_len_int32.ml.errors)
|
103 | 103 | (action
|
104 |
| - (with-stderr-to |
105 |
| - %{targets} |
106 |
| - (run ./pp.exe --impl %{input})))) |
107 |
| - |
| 104 | + (progn |
| 105 | + (with-stderr-to %{targets} |
| 106 | + (run ./pp.exe --impl %{input})) |
| 107 | + (bash "sed -i.bak '1d' %{targets}")))) |
108 | 108 | (rule
|
109 | 109 | (alias runtest)
|
110 | 110 | (package ppx_cstruct)
|
|
115 | 115 | (deps pp.exe (:input cstruct_len_not_int.ml))
|
116 | 116 | (targets cstruct_len_not_int.ml.errors)
|
117 | 117 | (action
|
118 |
| - (with-stderr-to |
119 |
| - %{targets} |
120 |
| - (run ./pp.exe --impl %{input})))) |
121 |
| - |
| 118 | + (progn |
| 119 | + (with-stderr-to %{targets} |
| 120 | + (run ./pp.exe --impl %{input})) |
| 121 | + (bash "sed -i.bak '1d' %{targets}")))) |
122 | 122 | (rule
|
123 | 123 | (alias runtest)
|
124 | 124 | (package ppx_cstruct)
|
|
129 | 129 | (deps pp.exe (:input cstruct_len_zero.ml))
|
130 | 130 | (targets cstruct_len_zero.ml.errors)
|
131 | 131 | (action
|
132 |
| - (with-stderr-to |
133 |
| - %{targets} |
134 |
| - (run ./pp.exe --impl %{input})))) |
135 |
| - |
| 132 | + (progn |
| 133 | + (with-stderr-to %{targets} |
| 134 | + (run ./pp.exe --impl %{input})) |
| 135 | + (bash "sed -i.bak '1d' %{targets}")))) |
136 | 136 | (rule
|
137 | 137 | (alias runtest)
|
138 | 138 | (package ppx_cstruct)
|
|
143 | 143 | (deps pp.exe (:input cstruct_multiple_len.ml))
|
144 | 144 | (targets cstruct_multiple_len.ml.errors)
|
145 | 145 | (action
|
146 |
| - (with-stderr-to |
147 |
| - %{targets} |
148 |
| - (run ./pp.exe --impl %{input})))) |
149 |
| - |
| 146 | + (progn |
| 147 | + (with-stderr-to %{targets} |
| 148 | + (run ./pp.exe --impl %{input})) |
| 149 | + (bash "sed -i.bak '1d' %{targets}")))) |
150 | 150 | (rule
|
151 | 151 | (alias runtest)
|
152 | 152 | (package ppx_cstruct)
|
|
157 | 157 | (deps pp.exe (:input cstruct_not_a_record.ml))
|
158 | 158 | (targets cstruct_not_a_record.ml.errors)
|
159 | 159 | (action
|
160 |
| - (with-stderr-to |
161 |
| - %{targets} |
162 |
| - (run ./pp.exe --impl %{input})))) |
163 |
| - |
| 160 | + (progn |
| 161 | + (with-stderr-to %{targets} |
| 162 | + (run ./pp.exe --impl %{input})) |
| 163 | + (bash "sed -i.bak '1d' %{targets}")))) |
164 | 164 | (rule
|
165 | 165 | (alias runtest)
|
166 | 166 | (package ppx_cstruct)
|
|
171 | 171 | (deps pp.exe (:input cstruct_not_an_identifier.ml))
|
172 | 172 | (targets cstruct_not_an_identifier.ml.errors)
|
173 | 173 | (action
|
174 |
| - (with-stderr-to |
175 |
| - %{targets} |
176 |
| - (run ./pp.exe --impl %{input})))) |
177 |
| - |
| 174 | + (progn |
| 175 | + (with-stderr-to %{targets} |
| 176 | + (run ./pp.exe --impl %{input})) |
| 177 | + (bash "sed -i.bak '1d' %{targets}")))) |
178 | 178 | (rule
|
179 | 179 | (alias runtest)
|
180 | 180 | (package ppx_cstruct)
|
|
185 | 185 | (deps pp.exe (:input cstruct_several_attributes.ml))
|
186 | 186 | (targets cstruct_several_attributes.ml.errors)
|
187 | 187 | (action
|
188 |
| - (with-stderr-to |
189 |
| - %{targets} |
190 |
| - (run ./pp.exe --impl %{input})))) |
191 |
| - |
| 188 | + (progn |
| 189 | + (with-stderr-to %{targets} |
| 190 | + (run ./pp.exe --impl %{input})) |
| 191 | + (bash "sed -i.bak '1d' %{targets}")))) |
192 | 192 | (rule
|
193 | 193 | (alias runtest)
|
194 | 194 | (package ppx_cstruct)
|
|
199 | 199 | (deps pp.exe (:input cstruct_unknown_endian.ml))
|
200 | 200 | (targets cstruct_unknown_endian.ml.errors)
|
201 | 201 | (action
|
202 |
| - (with-stderr-to |
203 |
| - %{targets} |
204 |
| - (run ./pp.exe --impl %{input})))) |
205 |
| - |
| 202 | + (progn |
| 203 | + (with-stderr-to %{targets} |
| 204 | + (run ./pp.exe --impl %{input})) |
| 205 | + (bash "sed -i.bak '1d' %{targets}")))) |
206 | 206 | (rule
|
207 | 207 | (alias runtest)
|
208 | 208 | (package ppx_cstruct)
|
|
213 | 213 | (deps pp.exe (:input cstruct_unknown_type.ml))
|
214 | 214 | (targets cstruct_unknown_type.ml.errors)
|
215 | 215 | (action
|
216 |
| - (with-stderr-to |
217 |
| - %{targets} |
218 |
| - (run ./pp.exe --impl %{input})))) |
219 |
| - |
| 216 | + (progn |
| 217 | + (with-stderr-to %{targets} |
| 218 | + (run ./pp.exe --impl %{input})) |
| 219 | + (bash "sed -i.bak '1d' %{targets}")))) |
220 | 220 | (rule
|
221 | 221 | (alias runtest)
|
222 | 222 | (package ppx_cstruct)
|
|
0 commit comments