Commit e3dcefd
build: generate vimfuncs at build time
This has a few advantages: we don't have to include the generated file in the
source tree, and using `include!()` avoids rustfmt and other tools checking the
file.
The location of the generated file can also be customized by setting `OUT_DIR`,
but cargo picks an appropriate temporary place in the target/ directory by
default.
Also set the default workspace members to the crates which have tests so I don't
have to forget using `--workspace` all the time.1 parent 9a530e1 commit e3dcefd
3 files changed
Lines changed: 9 additions & 5083 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
0 commit comments