-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yml
More file actions
53 lines (45 loc) · 933 Bytes
/
Copy pathtaskfile.yml
File metadata and controls
53 lines (45 loc) · 933 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
49
50
51
52
53
version: "3"
includes:
app:
taskfile: ./app/taskfile.yml
dir: ./app/
infra:
taskfile: ./infra/taskfile.yml
dir: ./infra/
tasks:
default:
aliases: [help]
desc: Prints help message and list all
cmds:
- task -l
silent: true
test:
desc: Run tests for all projects
cmds:
- task: "app:test"
format:
desc: Autoformats all projects
cmds:
- task: "app:format"
- task: "infra:format"
lint:
desc: Check for code smells in all projects
cmds:
- task: "app:lint"
pull:
aliases: [pl]
desc: Pulls newest changes
cmds:
- git pull
updateApp:
desc: updates the image app
cmds:
- podman image pull ghcr.io/c0dk/stikl:main
- systemctl restart podman-stikl-web.service
deploy:
aliases: [dp]
desc: Pulls newest changes
cmds:
- task: pull
- task: infra:deploy
- task: updateApp