-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathtaskfile.yml
More file actions
68 lines (59 loc) · 1.52 KB
/
taskfile.yml
File metadata and controls
68 lines (59 loc) · 1.52 KB
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
64
65
66
67
68
version: '3'
output: prefixed
includes:
build: ./taskfiles/build.yml
code: ./taskfiles/code.yml
deploy: ./taskfiles/deploy.yml
i18n: ./taskfiles/i18n.yml
media: ./taskfiles/media.yml
package: ./taskfiles/package.yml
vars:
IMAGE_NAME: grout-build
CONTAINER_NAME: grout-extract
LABEL: app.romm.grout.build=true
NO_CACHE: ""
VERSION_ARG: '{{if .GROUT_VERSION}}--build-arg GROUT_VERSION={{.GROUT_VERSION}}{{end}}'
tasks:
default:
desc: List available tasks
cmds:
- task --list
silent: true
clean:
desc: Remove build artifacts and dangling Docker images
cmds:
- rm -rf build64 build buildx86 build32 dist *.log
- docker image prune --filter "label={{.LABEL}}" -f >/dev/null 2>&1 || true
silent: true
all:
desc: Build and package for all platforms
vars:
LOCAL: "false"
deps:
- task: build:arm64
vars: { LOCAL: "{{.LOCAL}}" }
- task: build:arm32
vars: { LOCAL: "{{.LOCAL}}" }
- task: build:x86
- task: build:amd64
cmds:
- task: package:all
silent: true
all-arm64:
desc: Build and package for all ARM64 platforms
cmds:
- task: build:arm64
- task: package:next
- task: package:muos
- task: package:knulli
- task: package:spruce
- task: package:rocknix
- task: package:trimui
silent: true
all-arm32:
desc: Build and package for all ARM32 platforms
cmds:
- task: build:arm32
- task: package:allium
- task: package:onion
silent: true