```yaml title="<project>/moon.yml"
language: 'ruby'

fileGroups:
  sources:
    - 'lib/**/*'
    - 'view/**/*'
  tests:
    - 'spec/**/*'

tasks:
  dev:
    command: './bin/rails server'
    preset: 'server'
  format:
    command: 'rubocop -x'
    inputs:
      - '@globs(sources)'
      - '@globs(tests)'
      - '.rubocop.yml'
  lint:
    command: 'rubocop -l'
    inputs:
      - '@globs(sources)'
      - '@globs(tests)'
      - '.rubocop.yml'
  test:
    command: 'rspec'
    inputs:
      - '@globs(sources)'
      - '@globs(tests)'
      - '.rspec'
  typecheck:
    command: 'srb tc'
    inputs:
      - '@globs(sources)'
      - '@globs(tests)'
      - 'sorbet/config'
```
