forked from aquaproj/aqua-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cmdx.yaml
44 lines (44 loc) · 1.23 KB
/
.cmdx.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
44
---
# the configuration file of cmdx - task runner
# https://github.com/suzuki-shunsuke/cmdx
tasks:
- name: install
short: i
description: install all packages
usage: install all packages
script: aqua -c aqua-all.yaml i --test
- name: test
short: t
description: test
usage: test
script: aqua i --test
- name: exec
short: x
description: exec with aqua-all.yaml
usage: exec with aqua-all.yaml
script: AQUA_CONFIG=aqua-all.yaml aqua exec -- {{._builtin.args_string}}
- name: which
short: w
description: aqua which with aqua-all.yaml
usage: aqua which with aqua-all.yaml
script: "AQUA_CONFIG=aqua-all.yaml aqua which {{.package}}"
args:
- name: package
required: true
- name: generate
short: g
description: aqua generate with aqua-all.yaml
usage: aqua generate with aqua-all.yaml
script: aqua -c aqua-all.yaml g
- name: release
short: r
description: release the new version
usage: release the new version
script: |
git tag -m "chore: release {{.version}}" "{{.version}}"
git push origin "{{.version}}"
args:
- name: version
required: true
validate:
- regexp: "^v\\d+\\.\\d+.\\d+(-\\d+)?$"