-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yaml
43 lines (35 loc) · 1.19 KB
/
Taskfile.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
version: '3'
vars:
UID:
sh: id -u
GID:
sh: id -g
SHELL_PWD:
sh: pwd
DOCKER_PWD: /data
DOCKER_DIRS: -v "{{.SHELL_PWD}}:{{.DOCKER_PWD}}" -w {{.DOCKER_PWD}}
DOCKER_PARAMS_DEFAULT: -u {{.UID}}:{{.GID}} --rm
DOCKER_PARAMS: '{{.DOCKER_PARAMS | default .DOCKER_PARAMS_DEFAULT }}'
RAPPER_IMAGE: docker.io/pheyvaer/raptor
RAPPER_DOCKER: docker run {{.DOCKER_PARAMS}} {{.DOCKER_DIRS}} {{.RAPPER_IMAGE}}
RAPPER_CMD: '{{.RAPPER_DOCKER}}'
tasks:
default:
summary: List all tasks
silent: true
cmds:
- task --list
ci:
desc: Build tasks for the CI
cmds:
- task: check
check:
desc: Test that the serialization is still valid
cmds:
- "{{ .RAPPER_CMD }} -i rdfxml -c ./elementSet/dnb.rdf"
- "{{ .RAPPER_CMD }} -i rdfxml -c ./elementSet/agrelon.rdf"
- "{{ .RAPPER_CMD }} -i rdfxml -c ./valueVocabulary/description-level.rdf"
- "{{ .RAPPER_CMD }} -i rdfxml -c ./valueVocabulary/gender.rdf"
- "{{ .RAPPER_CMD }} -i rdfxml -c ./valueVocabulary/gnd-sc.rdf"
- "{{ .RAPPER_CMD }} -i rdfxml -c ./valueVocabulary/type-of-coordinates.rdf"
- "{{ .RAPPER_CMD }} -i rdfxml -c ./valueVocabulary/geographic-area-code.rdf"