-
Notifications
You must be signed in to change notification settings - Fork 58
/
Taskfile.yml
49 lines (41 loc) · 927 Bytes
/
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
42
43
44
45
46
47
48
49
version: '3'
includes:
build: tasks/build/Taskfile-{{OS}}.yml
scriptlets: scriptlets/Taskfile.yml
frontend: frontend/Taskfile.yml
tasks:
default:
desc: Runs the dev task.
cmds:
- task: dev
dev:
desc: Runs the application in development mode.
cmds:
- wails dev
build-dev:
desc: Create a development build of the application.
cmds:
- wails build
test-go:
desc: Run Go tests.
cmds:
- go test -cover -race ./...
test:
desc: Run Go and scriptlets tests.
cmds:
- task: scriptlets:test
- task: test-go
- cmd: echo "Tests passed"
silent: true
lint:
desc: Run frontend, scriptlets, and Go linters.
cmds:
- task: frontend:lint
- task: scriptlets:lint
- task: lint-go
- cmd: echo "Checks passed"
silent: true
lint-go:
desc: Run Go linters.
cmds:
- golangci-lint run