mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
This cleanup commit resolves the issue where the branch was accidentally based on master instead of v3-alpha. It removes all master-specific files, restores any v3-alpha files to their correct state, and ensures only the 3 intended bugfix changes differ from v3-alpha: - v3/pkg/application/webview_window_windows.go - v3/pkg/w32/constants.go - v3/pkg/w32/user32.go
36 lines
896 B
YAML
36 lines
896 B
YAML
# https://taskfile.dev
|
|
|
|
version: '3'
|
|
|
|
vars:
|
|
# Change this to switch package managers: bun, npm, pnpm, yarn
|
|
PKG_MANAGER: npm
|
|
|
|
tasks:
|
|
|
|
setup:
|
|
summary: Setup the project (including D2 diagram tool)
|
|
preconditions:
|
|
- sh: '{{.PKG_MANAGER}} --version'
|
|
msg: "Looks like {{.PKG_MANAGER}} isn't installed."
|
|
- sh: 'go version'
|
|
msg: "Go is not installed. Install from https://go.dev/dl/"
|
|
cmds:
|
|
- '{{.PKG_MANAGER}} install'
|
|
- go install oss.terrastruct.com/d2@latest
|
|
- echo "✓ Setup complete. D2 installed to $(go env GOPATH)/bin/d2"
|
|
|
|
dev:
|
|
summary: Run the dev server
|
|
deps: [setup]
|
|
cmds:
|
|
- '{{.PKG_MANAGER}} run dev'
|
|
|
|
build:
|
|
summary: Build the docs
|
|
preconditions:
|
|
- sh: '{{.PKG_MANAGER}} --version'
|
|
msg: "Looks like {{.PKG_MANAGER}} isn't installed."
|
|
cmds:
|
|
- '{{.PKG_MANAGER}} run build'
|
|
|