summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-09-07 20:48:46 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-09-07 20:48:46 +0100
commit5cd2c2a8e56bdac1bc435fbd378ba7b10023c361 (patch)
tree164946a561ca991e5d89e2cb1b15c350967a2703 /build.rs
parentf99f5c188693b877a927b61e686a556a7f15ecbd (diff)
downloadsubplot-5cd2c2a8e56bdac1bc435fbd378ba7b10023c361.tar.gz
chore: Rename generated file for resources to ease development
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index fe3ee5c..857452b 100644
--- a/build.rs
+++ b/build.rs
@@ -104,7 +104,7 @@ fn gather_share_files() -> Result<Vec<PathBuf>> {
/// those files and their contents to be embedded into the subplot binary.
fn write_out_resource_file<'a>(paths: impl Iterator<Item = &'a Path>) -> Result<()> {
let mut out_path: PathBuf = std::env::var("OUT_DIR")?.into();
- out_path.push("embedded_files.inc");
+ out_path.push("embedded_files.rs");
let mut fh = std::fs::File::create(out_path)?;
writeln!(fh, "&[")?;
for entry in paths {