mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-09 18:31:29 +08:00

* Add service registration method * Fix error handling and formatting in messageprocessor * Add configurable error handling * Improve error strings * Fix service shutdown on macOS * Add post shutdown hook * Better fatal errors * Add startup/shutdown sequence tests * Improve debug messages * Update JS runtime * Update docs * Update changelog * Fix log message in clipboard message processor Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Remove panic in RegisterService * Fix linux tests (hopefully) * Fix error formatting everywhere * Fix typo in windows webview * Tidy example mods * Set application name in tests * Fix ubuntu test workflow * Cleanup template test pipeline * Fix dev build detection on Go 1.24 * Update template go.mod/sum to Go 1.24 * Remove redundant caching in template tests * Final format string cleanup * Fix wails3 tool references * Fix legacy log calls * Remove formatJS and simplify format strings * Fix indirect import --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# https://taskfile.dev
|
|
|
|
version: "3"
|
|
|
|
tasks:
|
|
install-deps:
|
|
internal: true
|
|
dir: desktop/@wailsio/runtime
|
|
sources:
|
|
- package.json
|
|
cmds:
|
|
- npm install
|
|
|
|
test:
|
|
dir: desktop/@wailsio/runtime
|
|
cmds:
|
|
- npx vitest run
|
|
|
|
update:
|
|
dir: desktop/@wailsio/runtime
|
|
cmds:
|
|
- npx npm-check-updates -u
|
|
|
|
build:debug:
|
|
internal: true
|
|
cmds:
|
|
- npx esbuild@latest desktop/@wailsio/runtime/src/index.js --inject:desktop/compiled/main.js --format=esm --bundle --tree-shaking=true --sourcemap=inline --outfile=../assetserver/bundledassets/runtime.debug.js --define:DEBUG=true
|
|
|
|
build:production:
|
|
internal: true
|
|
cmds:
|
|
- npx esbuild@latest desktop/@wailsio/runtime/src/index.js --inject:desktop/compiled/main.js --format=esm --bundle --tree-shaking=true --minify --outfile=../assetserver/bundledassets/runtime.js --define:DEBUG=false --drop:console
|
|
|
|
build:all:
|
|
internal: true
|
|
deps:
|
|
- build:debug
|
|
- build:production
|
|
|
|
cmds:
|
|
- cmd: echo "Build Complete."
|
|
|
|
build:
|
|
deps:
|
|
- install-deps
|
|
cmds:
|
|
- task: build:all
|
|
|
|
generate:events:
|
|
dir: ../../tasks/events
|
|
cmds:
|
|
- go run generate.go
|