-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
48 lines (41 loc) · 922 Bytes
/
Taskfile.yml
File metadata and controls
48 lines (41 loc) · 922 Bytes
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
version: "3"
tasks:
ui:install:
desc: Install frontend dependencies
dir: webui
cmds:
- bun install --frozen-lockfile
ui:build:
desc: Build static UI
dir: webui
cmds:
- bun install --frozen-lockfile
- bun run build
ui:dev:
desc: Run SvelteKit dev server
dir: webui
cmds:
- bun install --frozen-lockfile
- bun run dev
ui:check:
desc: Typecheck and Svelte diagnostics
dir: webui
cmds:
- bun install --frozen-lockfile
- bun run check
build:
desc: Build UI and backend binary
deps: [ui:build]
cmds:
- mkdir -p build
- go build -o ./build/proxymini ./cmd/proxymini
run:
desc: Build UI and run backend
deps: [ui:build]
cmds:
- go run ./cmd/proxymini run
test:
desc: Run frontend checks and backend tests
cmds:
- task ui:check
- go test --cover -race ./...