-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Taskfile.yml
41 lines (39 loc) · 1.06 KB
/
Taskfile.yml
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
version: '3'
tasks:
build:
cmds:
- wails build -platform=windows/amd64,windows/arm64,linux/amd64,linux/arm64
desc: Build the application for all platforms
build-win:
cmds:
- wails build -platform=windows/amd64,windows/arm64
desc: Build the application for Windows
build-linux:
cmds:
- wails build -platform=linux/amd64,linux/arm64
desc: Build the application for Linux
build-wasm-front-linux:
dir: frontend/static/wasm
cmds:
- GOOS=js GOARCH=wasm go build -o signal.wasm
desc: Build the frontend wasm for Linux
build-wasm-front-win:
dir: frontend/static/wasm
cmds:
- powershell.exe -Command { $env:GOOS="js";$env:GOARCH="wasm"; go build -o signal.wasm }
desc: Build the frontend wasm for Windows
dev-all:
cmds:
- wails dev
desc: Run the application in development mode
dev-front:
dir: frontend
cmds:
- pnpm run dev
desc: Run the frontend in development mode
test:
desc: Run E2E tests
dir: frontend
deps: [dev-all]
cmds:
- pnpm run test