Increment version

This commit is contained in:
AsmodeusRex 2022-10-31 13:34:43 -07:00
parent 0462354e33
commit 037830c595
3 changed files with 21 additions and 14 deletions

View file

@ -11,8 +11,11 @@ use racegroups::*;
use surgery::*;
use things::*;
const CONTENT_PATH: &str = "../Content/Base/Defs/Generated/";
fn write(path: &'static str, data: &String) -> io::Result<()> {
let mut f = File::create(format!("../Content/Base/Defs/Generated/{path}.xml"))?;
std::fs::DirBuilder::new().recursive(true).create(CONTENT_PATH).unwrap();
let mut f = File::create(format!("{CONTENT_PATH}{path}.xml"))?;
let s = format!("<?xml version=\"1.0\" encoding=\"utf-8\"?>
<!-- This is an automatically generated file. If you are the end user, this is safe to edit. If you are a contributor, please edit the source files instead. -->
<Defs>{data}</Defs>");