summaryrefslogtreecommitdiff
path: root/build.rs
AgeCommit message (Collapse)AuthorFilesLines
2023-02-11chore: use variables in Rust format stringsLars Wirzenius1-8/+4
Change this: format!("{}", foo) into this: format!("{foo}") Support for this feature was added in Rust 1.58 (see https://github.com/rust-lang/rust/releases/tag/1.58.0) and in 1.67 clippy suggests about this. Because the new style seems to be where the Rust ecosystem is going, I think Subplot should follow to avoid being needlessly different from most other projects. Sponsored-by: author
2021-09-07chore: Rename generated file for resources to ease developmentDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-09-06fix: build resources into subplot binary even in Debian packageLars Wirzenius1-11/+1
Once upon a time, in a galaxy far, far away, we decided to not build the share/* resource files into the subplot binary, when building it for a Debian package. Much later, we were much surprised when this was not the case and tests fail when run during the Debian package build. Because it's surprising to not build in the resources for a Debian package, we hereby undo that decision. Sponsored-by: author
2021-09-05build.rs: Report if share tree is emptyDaniel Silverstone1-1/+8
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-19build: Support dot/plantuml.jar paths via build environment variablesDaniel Silverstone1-0/+21
This also adds Java binary path override Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-18build.rs: Add some documentation to reduce confusion in newcomersDaniel Silverstone1-2/+39
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-01-10resource: Use a fallback path if neededDaniel Silverstone1-0/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-01-10debian: Don't embed files for deb buildDaniel Silverstone1-1/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-01-10resource: Support embedded the resourcesDaniel Silverstone1-0/+88
We detect the content of the share/ tree at build time and embed files into it. Symbolic links to files will be followed and the target will be embedded. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>