gui/cmd/examples/core-task-change/tasks/node.yml
Snider 032c426ac3 feat: initial Wails v3 desktop framework
GUI packages, examples, and documentation for building
desktop applications with Go and web technologies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:44:23 +00:00

24 lines
539 B
YAML

version: '3'
tasks:
install:
desc: "Install npm dependencies for the frontend."
dir: '{{.PUBLIC_DIR}}'
sources:
- package.json
- package-lock.json
generates:
- node_modules/*
preconditions:
- sh: npm version
msg: "Looks like npm isn't installed. Npm is part of the Node installer: https://nodejs.org/en/download/"
cmds:
- npm install
build:
desc: "Build the frontend assets."
dir: '{{.PUBLIC_DIR}}'
deps:
- task: install
cmds:
- npm run build