Browse Source
Vite deletes the `dist` directory on re-builds. That will also delete the gitignore which makes the generated files show up in Git. We need those directories to exist otherwise `rust-embed` fails. Use a build-script to create them when we compile the daemons.fix-bad-api-calls
4 changed files with 7 additions and 8 deletions
@ -0,0 +1,6 @@ |
|||||
|
fn main() -> std::io::Result<()> { |
||||
|
std::fs::create_dir_all("../frontend/dist/maker")?; |
||||
|
std::fs::create_dir_all("../frontend/dist/taker")?; |
||||
|
|
||||
|
Ok(()) |
||||
|
} |
@ -1,4 +0,0 @@ |
|||||
# Ignore everything in this directory |
|
||||
* |
|
||||
# Except this file |
|
||||
!.gitignore |
|
@ -1,4 +0,0 @@ |
|||||
# Ignore everything in this directory |
|
||||
* |
|
||||
# Except this file |
|
||||
!.gitignore |
|
Loading…
Reference in new issue