forked from Shopify/shopify-api-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
dev.yml
32 lines (29 loc) · 834 Bytes
/
dev.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
name: shopify-api
type: ruby
up:
- ruby: 3.0.3
- bundler
commands:
console:
desc: 'start a ruby shell with ShopifyAPI already loaded'
aliases: ['c']
run: bundle exec irb -Ilib -rshopify_api
style:
desc: 'run rubocop'
run: bundle exec rubocop
typecheck:
desc: 'run Sorbet typechecking'
aliases: ['tc']
run: bundle exec srb tc
test:
run: bundle exec rake test
sanity:
desc: 'run all static checks against the codebase'
run: bundle exec rubocop && bundle exec srb tc && bundle exec rake test
subcommands:
all:
desc: 'run all checks regardless of the success states of previous checks'
run: bundle exec rubocop; bundle exec srb tc; bundle exec rake test
rbi:
desc: 'generate .rbi files for specified gem to the project'
run: bin/tapioca gem