-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Taskfile.Development.yaml
63 lines (53 loc) · 1.33 KB
/
Taskfile.Development.yaml
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
55
56
57
58
59
60
61
62
63
# https://taskfile.dev
version: "3"
tasks:
go-update:
desc: Update Golang dependencies.
cmds:
- go get -u ./..
- go mod tidy
npm-update:
desc: Update Node.JS client side dependencies.
dir: server/app
cmds:
- npx npm-check-updates -i
interactive: true
npm-install:
desc: Install Node.JS client side dependencies.
dir: server/app
cmds:
- npm install
sources:
- package.json
- package-lock.json
irc:
desc: Start IRC Server for Development
cmds:
- docker run --name ergo -d -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable
mock:
desc: Start Mock Server for Development
dir: cmd/mock
cmds:
- go run .
cli:
desc: Run OpenBooks in CLI Mode.
dir: cmd/openbooks
cmds:
- go build
- ./openbooks cli --tls=false --server localhost:6667 --name "dev-user"
server:
desc: Run OpenBooks in Server Mode.
dir: cmd/openbooks
cmds:
- go build
- ./openbooks server --tls=false --server localhost:6667 --name "dev-user"
client:
desc: Run OpenBooks React Client Application in Development Mode.
dir: server/app
cmds:
- npm run dev
desktop:
desc: Run OpenBooks in the experimental desktop mode with a WebView GUI.
dir: cmd/openbooks
cmds:
- go run -tags webview