-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.ruby.yml
More file actions
52 lines (44 loc) · 1.09 KB
/
Taskfile.ruby.yml
File metadata and controls
52 lines (44 loc) · 1.09 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
version: '3'
run: once
tasks:
generate:
desc: Generate Sorbet structs, TypeScript artifacts, and provider catalog
run: once
cmds:
- bundle exec ruby scripts/generate_structs.rb
- bundle exec ruby scripts/export_provider_catalog.rb
tapioca:
desc: Run Tapioca
deps: [generate]
cmds:
- bundle exec tapioca gems
- bundle exec tapioca dsl
- bundle exec tapioca annotations
typecheck:
desc: Run Sorbet type checking
deps: [generate]
cmds:
- scripts/typecheck.sh
lint:
desc: Run RuboCop
deps: [generate]
cmds:
- bundle exec ruby bin/rubocop
lint:fix:
desc: Auto-correct RuboCop offenses
deps: [generate]
cmds:
- bundle exec ruby bin/rubocop -A
check-generated:
desc: Ensure generated Ruby structs are up to date (CI safe)
cmds:
- scripts/check_generated.sh
test:
desc: Run Ruby unit tests
deps: [generate]
cmds:
- bundle exec ruby scripts/test.rb
coverage:merge:
desc: Merge Ruby and Rails coverage reports
cmds:
- scripts/merge_coverage.sh