projects
/
valheim_web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the correct process name...
[valheim_web.git]
/
backend
/
build.rs
diff --git
a/backend/build.rs
b/backend/build.rs
index
8837cfc
..
0d6baba
100644
(file)
--- a/
backend/build.rs
+++ b/
backend/build.rs
@@
-26,6
+26,11
@@
fn main() {
.expect("Unable to compile SASS file, install SASS, see https://sass-lang.com/")
}
.expect("Unable to compile SASS file, install SASS, see https://sass-lang.com/")
}
+ // Create static directory if it doesn't exist.
+ if !Path::new("static").exists() {
+ std::fs::create_dir("static");
+ }
+
let output =
if exists_in_path("sass.bat") {
run_sass(Command::new("cmd").args(&["/C", "sass.bat"]))
let output =
if exists_in_path("sass.bat") {
run_sass(Command::new("cmd").args(&["/C", "sass.bat"]))