Repository navigation
Commit e133d8f
authored
Warn instead of failing when cargo-bundle-licenses is missing (#96)
Building from an sdist does not need a license bundle; only release builds do. A missing collector now logs a warning and skips the bundle. Collector errors and missing license texts still fail the build.
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>1 parent 067ba3c commit e133d8f
3 files changed
Lines changed: 30 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
2108 | 2111 | | |
2109 | 2112 | | |
2110 | 2113 | | |
2111 | | - | |
2112 | | - | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
2113 | 2117 | | |
2114 | 2118 | | |
2115 | 2119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
214 | 233 | | |
215 | 234 | | |
216 | 235 | | |
217 | 236 | | |
218 | 237 | | |
219 | 238 | | |
220 | | - | |
221 | | - | |
222 | 239 | | |
223 | 240 | | |
224 | 241 | | |
| |||
0 commit comments