Restruct justfile

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-20 15:48:52 +08:00
parent 55afbb29b4
commit 194f1fa1fe
2 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@
};
processes = {
vite = {
client = {
exec = "pnpm run dev";
cwd = "./client";
};

View File

@@ -18,9 +18,6 @@ clean:
mkdir -p .outputs
find .outputs -mindepth 1 ! -path .outputs/config.yaml -exec rm -rf {} +
client:
cd {{ client_dir }} && {{ pnpm_cmd }} run dev
build-client:
cd {{ client_dir }} && {{ pnpm_cmd }} run build --outDir {{ join(output_dir, "static") }}
@@ -39,5 +36,8 @@ watch-back:
dev: clean install
devenv up --verbose
dev-back: clean
client: install
devenv up client --verbose
back: clean
devenv up backend postgres redis meilisearch --verbose