From 5c540db325a2ba7ad4db3c7698da173d594de712 Mon Sep 17 00:00:00 2001 From: Asai Neko Date: Tue, 20 Jan 2026 15:40:45 +0800 Subject: [PATCH] Add cleaning output dir for client and backend build/dev Signed-off-by: Asai Neko --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index f026b70..c6d81c8 100644 --- a/justfile +++ b/justfile @@ -19,12 +19,12 @@ clean: find .outputs -mindepth 1 ! -path .outputs/config.yaml -exec rm -rf {} + client: - cd {{ client_dir }} && {{ pnpm_cmd }} dev + cd {{ client_dir }} && {{ pnpm_cmd }} run dev -build-client: +build-client: clean cd {{ client_dir }} && {{ pnpm_cmd }} run build --outDir {{ join(output_dir, "static") }} -build-back: +build-back: clean {{ go_cmd }} build -o {{ exec_path }}{{ if os() == "windows" { ".exe" } else { "" } }} {{ server_enrty }} run-back: @@ -39,5 +39,5 @@ watch-back: clean dev: clean install devenv up --verbose -dev-back: +dev-back: clean devenv up backend postgres redis meilisearch --verbose