forked from casibase/casibase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
45 lines (35 loc) · 770 Bytes
/
Taskfile.yml
File metadata and controls
45 lines (35 loc) · 770 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
version: 3
includes:
# way: global path
sre:
taskfile: ~/.local/task/better-sre/config/Taskfile.yml # TODO: auto create by `task setup`
dir: ~/.local/task/better-sre/config # global path
optional: true # safeguard, if not found, no error
server:
taskfile: ./ce/server/Taskfile.yml
dir: ./ce/server/
# env file:
dotenv:
- .env
tasks:
setup:
cmds:
- curl -fsSL https://raw.githubusercontent.com/better-sre/config/main/init.sh | sh
run:
cmds:
- go run main.go
tidy:
cmds:
- go mod tidy -v
web:install:
cmds:
- cd web/; yarn install;
run:web:
cmds:
- cd web/; yarn start;
docs:
cmds:
- open http://localhost:9000/swagger
push:
cmds:
- task: server:push