From 9734c18c4ffb4965f8271ecfcd9e0be8265f3695 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Fri, 2 Jan 2026 11:11:30 -0600 Subject: [PATCH] chore(Taskfile): consolidate build commands for Electron apps and add task for building all platforms --- Taskfile.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 3f27c4c..581b5ce 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -141,8 +141,7 @@ tasks: cmds: - "{{.NPM}} run electron-postinstall" - "{{.NPM}} run build-backend" - - "{{.NPM}} run dist -- --linux AppImage" - - "{{.NPM}} run dist -- --linux deb" + - "{{.NPM}} run dist -- --linux AppImage deb" build-electron-windows: desc: Build Windows Electron apps (portable and installer) @@ -150,8 +149,15 @@ tasks: cmds: - "{{.NPM}} run electron-postinstall" - "{{.NPM}} run build-backend" - - "{{.NPM}} run dist -- --win portable" - - "{{.NPM}} run dist -- --win nsis" + - "{{.NPM}} run dist -- --win portable nsis" + + build-electron-all: + desc: Build all Electron apps (Linux and Windows) + deps: [build-frontend] + cmds: + - "{{.NPM}} run electron-postinstall" + - "{{.NPM}} run build-backend" + - "{{.NPM}} run dist -- --linux AppImage deb --win portable nsis" dist: desc: Build distribution (defaults to AppImage)