-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
63 lines (51 loc) · 1.23 KB
/
Taskfile.yml
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
version: "3"
tasks:
test-setup:
cmds:
- brew test-bot --only-setup
test-only-cleanup-before:
cmds:
- brew test-bot --only-cleanup-before
test-only-tap-syntax:
cmds:
- brew test-bot --only-tap-syntax
test-only-formulae:
desc: Run brew test-bot command for formulae
cmds:
- brew test-bot --only-formulae
test:
desc: Run all the tests
deps:
- test-setup
- test-only-cleanup-before
- test-only-tap-syntax
- test-only-formulae
style-lint:
desc: Run brew style command
cmds:
- brew style .
# run the stle formatter on each file in the Formula directory
style-fix:
desc: Run brew style --fix command
cmds:
- brew style --formula --fix Formula/*.rb
install-local:
desc: Install the formula locally
cmds:
- brew install --verbose --formula Formula/frobnicate.rb
uninstall:
desc: Uninstall the formula
cmds:
- brew uninstall frobnicate
do:
desc: Run all the tests and style checks
deps:
- task: test-setup
- task: test-only-cleanup-before
- task: test-only-tap-syntax
- task: style-fix
test-install:
desc: Run all the tests and style checks
deps:
- task: uninstall
- task: install-local