Use nu command instead of rm to remove a file

This commit is contained in:
Greg Burri 2025-05-01 18:42:25 +02:00
parent 630ad418bd
commit 9c755c6487
2 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,8 @@
* Rust: https://www.rust-lang.org/
* Trunk: https://trunkrs.dev/
* Nushell: https://www.nushell.sh/
* Sass: https://sass-lang.com/
* Nushell: https://www.nushell.sh/ (*nu* need to be in *PATH*)
* Sass: https://sass-lang.com/ (*sass* or *sass.bat* need to be in *PATH*)
# Run in debug mode

View file

@ -8,5 +8,5 @@ minify = "on_release"
# Is there a way to not generate it at first?
[[hooks]]
stage = "post_build"
command = "rm"
command_arguments = ["../backend/static/wasm/.stage/index.html"]
command = "nu"
command_arguments = ["-c 'rm ../backend/static/wasm/.stage/index.html'"]