From 9c755c6487ebd31979dc846a0d8b34b7cc6660f0 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Thu, 1 May 2025 18:42:25 +0200 Subject: [PATCH] Use `nu` command instead of `rm` to remove a file --- README.md | 4 ++-- frontend/Trunk.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b5e94f0..0cabda2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/frontend/Trunk.toml b/frontend/Trunk.toml index 8e55a3e..7e84dc7 100644 --- a/frontend/Trunk.toml +++ b/frontend/Trunk.toml @@ -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'"]