Create native desktop application using Wails v3 with Angular frontend. The app wraps the mining CLI backend and exposes functionality via TypeScript bindings for system info, miner control, profiles, and stats. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
699 B
YAML
34 lines
699 B
YAML
version: '3'
|
|
|
|
includes:
|
|
common: ./build/Taskfile.yml
|
|
windows: ./build/windows/Taskfile.yml
|
|
darwin: ./build/darwin/Taskfile.yml
|
|
linux: ./build/linux/Taskfile.yml
|
|
|
|
vars:
|
|
APP_NAME: "mining-dashboard"
|
|
BIN_DIR: "bin"
|
|
VITE_PORT: '{{.WAILS_VITE_PORT | default 9245}}'
|
|
|
|
tasks:
|
|
build:
|
|
summary: Builds the application
|
|
cmds:
|
|
- task: "{{OS}}:build"
|
|
|
|
package:
|
|
summary: Packages a production build of the application
|
|
cmds:
|
|
- task: "{{OS}}:package"
|
|
|
|
run:
|
|
summary: Runs the application
|
|
cmds:
|
|
- task: "{{OS}}:run"
|
|
|
|
dev:
|
|
summary: Runs the application in development mode
|
|
cmds:
|
|
- wails3 dev -config ./build/config.yml -port {{.VITE_PORT}}
|
|
|