-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
54 lines (45 loc) · 1.41 KB
/
Copy pathTaskfile.yml
File metadata and controls
54 lines (45 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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: "agent-overflow"
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}}
setup:docker:
summary: Builds Docker image for cross-compilation (~800MB download)
cmds:
- task: common:setup:docker
build:wsl:
summary: |
Phase D: builds the Windows .exe + bundled Linux ELF for WSL-backed deployment.
See build/windows/Taskfile.yml task `build:wsl` for details. The .exe runs the
picker on first launch, spawns the Linux backend inside the chosen distro, and
points WebView2 at the WSL-side localhost port.
cmds:
- task: windows:build:wsl
package:wsl:zip:
summary: |
Zips the WSL-backed Windows launcher for direct distribution.
The Linux backend is embedded in the launcher; do not ship a sidecar ELF.
cmds:
- task: windows:package:wsl:zip