-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Taskfile.Development.yaml
58 lines (49 loc) · 1.16 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
# 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
mock:
desc: Start Mock Server for Development
dir: cmd/mock_server
cmds:
- go run .
cli:
desc: Run OpenBooks in CLI Mode.
dir: cmd/openbooks
cmds:
- go build
- ./openbooks cli --tls=false --server localhost:6667
server:
desc: Run OpenBooks in Server Mode.
dir: cmd/openbooks
cmds:
- go build
- ./openbooks server --tls=false --server localhost:6667
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