Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
leanmendoza committed Aug 25, 2023
1 parent b79efb5 commit 7ad37e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rust/xtask/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn export() -> Result<(), anyhow::Error> {
let args = vec!["-e", "--headless", "--quit"];
let status1 = std::process::Command::new(program.as_str())
.args(&args)
.current_dir(GODOT_PROJECT_FOLDER)
.current_dir(std::fs::canonicalize(GODOT_PROJECT_FOLDER).unwrap())
.status()
.expect("Failed to run Godot");

Expand Down Expand Up @@ -86,7 +86,7 @@ pub fn export() -> Result<(), anyhow::Error> {

let status2 = std::process::Command::new(program.as_str())
.args(&args)
.current_dir(GODOT_PROJECT_FOLDER)
.current_dir(std::fs::canonicalize(GODOT_PROJECT_FOLDER).unwrap())
.status()
.expect("Failed to run Godot");

Expand Down
4 changes: 2 additions & 2 deletions rust/xtask/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ pub fn run(
} else {
vec!["build"]
};

let build_status = std::process::Command::new("cargo")
.current_dir(RUST_LIB_PROJECT_FOLDER)
.current_dir(std::fs::canonicalize(RUST_LIB_PROJECT_FOLDER).unwrap())
.args(build_args)
.status()
.expect("Failed to run Godot");
Expand Down

0 comments on commit 7ad37e7

Please sign in to comment.