-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathTaskfile.yml
More file actions
67 lines (57 loc) · 1.63 KB
/
Copy pathTaskfile.yml
File metadata and controls
67 lines (57 loc) · 1.63 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
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
includes:
tms:
taskfile: ./services/tms/Taskfile.yml
dir: ./services/tms
gtc:
taskfile: ./services/gtc/Taskfile.yml
dir: ./services/gtc
samsara:
taskfile: ./services/samsara-sim/Taskfile.yml
dir: ./services/samsara-sim
tasks:
default:
desc: Show available top-level tasks
cmds:
- task --list
help:
desc: Show available top-level tasks
cmds:
- task --list
list:
desc: Show namespaced service tasks
cmds:
- task --list-all
- echo ''
- echo 'Examples:'
- echo ' task tms:run'
- echo ' task tms:test'
- echo ' task gtc:run'
- echo ' task gtc:validate-config'
- echo ' task gtc:backfill projection=shipment-search'
i18n:
desc: Extract user-facing strings and refresh the translation catalogs
dir: '{{.ROOT_DIR}}'
cmds:
- node i18n/tools/i18n.mjs sync
i18n-report:
desc: Show the translation inventory (add --rejected to audit the string filter)
dir: '{{.ROOT_DIR}}'
cmds:
- node i18n/tools/i18n.mjs report {{.CLI_ARGS}}
i18n-codemod:
desc: 'Wrap user-facing literals in t() under a directory: task i18n-codemod -- <dir> --write'
dir: '{{.ROOT_DIR}}'
cmds:
- node i18n/tools/i18n.mjs codemod {{.CLI_ARGS}}
i18n-test:
desc: Run the extraction and codemod tool tests
dir: '{{.ROOT_DIR}}'
cmds:
- node --test 'i18n/tools/*.test.mjs'
i18n-check:
desc: Verify every locale catalog is complete and up to date
dir: '{{.ROOT_DIR}}'
cmds:
- node i18n/tools/i18n.mjs check