summaryrefslogtreecommitdiff
path: root/.projections.json.example
blob: 7ea0862f56abd11d58cdacf4e82ffd3fcd37d3ec (plain)
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
{
  "app/*.rb": {
    "alternate": "spec/{}_spec.rb",
    "type": "source"
  },
  "spec/*_spec.rb": {
    "alternate": "app/{}.rb",
    "type": "test"
  },
  "lib/*.rb": {
    "alternate": "spec/lib/{}_spec.rb",
    "type": "source"
  },
  "spec/lib/*_spec.rb": {
    "alternate": "lib/{}.rb",
    "type": "test"
  },
  "ee/app/*.rb": {
    "alternate": "ee/spec/{}_spec.rb",
    "type": "source"
  },
  "ee/spec/*_spec.rb": {
    "alternate": "ee/app/{}.rb",
    "type": "test"
  },
  "ee/lib/*.rb": {
    "alternate": "ee/spec/lib/{}_spec.rb",
    "type": "source"
  },
  "ee/spec/lib/*_spec.rb": {
    "alternate": "ee/lib/{}.rb",
    "type": "test"
  },
  "*.rb": {"dispatch": "bundle exec rubocop {file}"},
  "*_spec.rb": {"dispatch": "bundle exec rspec {file}"}
}