diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-22 14:31:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-22 14:31:16 +0300 |
commit | 905c1110b08f93a19661cf42a276c7ea90d0a0ff (patch) | |
tree | 756d138db422392c00471ab06acdff92c5a9b69c /.projections.json.example | |
parent | 50d93f8d1686950fc58dda4823c4835fd0d8c14b (diff) |
Add latest changes from gitlab-org/gitlab@12-4-stable-ee
Diffstat (limited to '.projections.json.example')
-rw-r--r-- | .projections.json.example | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.projections.json.example b/.projections.json.example new file mode 100644 index 00000000000..7ea0862f56a --- /dev/null +++ b/.projections.json.example @@ -0,0 +1,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}"} +} |