chore(Taskfile): consolidate build commands for Electron apps and add task for building all platforms
This commit is contained in:
14
Taskfile.yml
14
Taskfile.yml
@@ -141,8 +141,7 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- "{{.NPM}} run electron-postinstall"
|
- "{{.NPM}} run electron-postinstall"
|
||||||
- "{{.NPM}} run build-backend"
|
- "{{.NPM}} run build-backend"
|
||||||
- "{{.NPM}} run dist -- --linux AppImage"
|
- "{{.NPM}} run dist -- --linux AppImage deb"
|
||||||
- "{{.NPM}} run dist -- --linux deb"
|
|
||||||
|
|
||||||
build-electron-windows:
|
build-electron-windows:
|
||||||
desc: Build Windows Electron apps (portable and installer)
|
desc: Build Windows Electron apps (portable and installer)
|
||||||
@@ -150,8 +149,15 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- "{{.NPM}} run electron-postinstall"
|
- "{{.NPM}} run electron-postinstall"
|
||||||
- "{{.NPM}} run build-backend"
|
- "{{.NPM}} run build-backend"
|
||||||
- "{{.NPM}} run dist -- --win portable"
|
- "{{.NPM}} run dist -- --win portable nsis"
|
||||||
- "{{.NPM}} run dist -- --win 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:
|
dist:
|
||||||
desc: Build distribution (defaults to AppImage)
|
desc: Build distribution (defaults to AppImage)
|
||||||
|
|||||||
Reference in New Issue
Block a user