-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathTaskfile.yml
More file actions
46 lines (40 loc) · 1010 Bytes
/
Taskfile.yml
File metadata and controls
46 lines (40 loc) · 1010 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
version: "3"
tasks:
frontend:install:
desc: Install frontend dependencies
cmds:
- pnpm install
frontend:build:
desc: Build Svelte frontend assets
deps: [frontend:install]
cmds:
- rm -f pkg/server/public/assets/convos.????????.js
- pnpm run build
- git add pkg/server/public/assets/
lint:
desc: Run linters
cmds:
- golangci-lint run
generate:
desc: Regenerate code
cmds:
- go generate ./...
build:
desc: Build the standalone Convos binary
deps: [frontend:build]
cmds:
- go build -o convos convos.go
run:
desc: Run Convos
cmds:
- go run convos.go daemon
test:
desc: Run the tests
cmds:
- go test -cover ./...
test:integration:
desc: Run IRC integration tests against a live server (requires CONVOS_TEST_IRC_SERVER)
env:
CONVOS_TEST_IRC_SERVER: irc://localhost:6667?tls=0
cmds:
- go test -count 1 -v -run TestIRCIntegration -timeout 120s ./pkg/irc/