mirror of
https://gitgud.io/AsmodeusRex/rjw-race-support.git
synced 2024-08-15 00:03:24 +00:00
Increment version
This commit is contained in:
parent
0462354e33
commit
037830c595
3 changed files with 21 additions and 14 deletions
|
@ -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>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue