summaryrefslogtreecommitdiff
path: root/.projections.json.example
blob: 326e95443923bfc8db2a7f91272edfe330572690 (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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
  "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"
  },
  "lib/api/*.rb": {
    "alternate": "spec/requests/api/{}_spec.rb",
    "type": "source"
  },
  "spec/requests/api/*_spec.rb": {
    "alternate": "lib/api/{}.rb",
    "type": "test"
  },
  "ee/lib/api/*.rb": {
    "alternate": "ee/spec/requests/api/{}_spec.rb",
    "type": "source"
  },
  "ee/spec/requests/api/*_spec.rb": {
    "alternate": "ee/lib/api/{}.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"
  },
  "app/assets/javascripts/*.js": {
    "alternate": "spec/frontend/{}_spec.js",
    "type": "source"
  },
  "app/assets/javascripts/*.vue": {
    "alternate": "spec/frontend/{}_spec.js",
    "type": "source"
  },
  "spec/frontend/*_spec.js": {
    "alternate": ["app/assets/javascripts/{}.vue", "app/assets/javascripts/{}.js"],
    "type": "test"
  },
  "ee/app/assets/javascripts/*.js": {
    "alternate": "ee/spec/frontend/{}_spec.js",
    "type": "source"
  },
  "ee/app/assets/javascripts/*.vue": {
    "alternate": "ee/spec/frontend/{}_spec.js",
    "type": "source"
  },
  "ee/spec/frontend/*_spec.js": {
    "alternate": ["ee/app/assets/javascripts/{}.vue", "ee/app/assets/javascripts/{}.js"],
    "type": "test"
  },
  "*.rb": {"dispatch": "bundle exec rubocop {file}"},
  "*_spec.rb": {"dispatch": "bundle exec rspec {file}"}
}