Use nu command instead of rm to remove a file
This commit is contained in:
parent
630ad418bd
commit
9c755c6487
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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'"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue