fixed missing dependency in scaffolding

This commit is contained in:
dani 2023-07-27 05:23:09 +00:00
parent 704726f273
commit 6fa1222c86
2 changed files with 12 additions and 3 deletions

View File

@ -1,7 +1,11 @@
# 0.2.0 -
# 0.2.1 - 2023-07-27
- fixed missing dependency in scaffolding
# 0.2.0 - 2023-07-27
- added README.md
- renamed tilemaps to backgrounds to make space for... tilemaps
- tile idx 0xffff and palette idx 0xff are now transparent rather than 0x0000
- added gsa scaffolding tool
# 0.1.0 - 2023-07-21
initial release

View File

@ -76,16 +76,21 @@ fn main() {
Some(local) => {
writeln!(
cargo,
"{} = {{path = \"{}\"}}\nglam = \"0.24.0\"\n\n[profile.dev.package.{}]\nopt-level = 3",
"{} = {{path = \"{}\"}}\n",
crate_name!(),
canonicalize(local)
.expect("couldn't find path")
.to_slash_lossy(),
crate_name!()
)
.unwrap();
}
}
writeln!(
cargo,
"glam = \"0.24.0\"\n\n[profile.dev.package.{}]\nopt-level = 3",
crate_name!()
)
.unwrap();
write(
path.join("src/main.rs"),
include_str!("../examples/hello_world/main.rs"),