diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-25 18:06:17 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-25 18:06:17 +0000 |
commit | 3fdbfaf3e587a0e25b6351e72d19e3bc1b47b33e (patch) | |
tree | 02fe9c114e452965525422920a3addaa8eafe2bc /.projections.json.example | |
parent | b1d7b01241da7f7f5d42c5ef46c7788fac0ab6d3 (diff) | |
download | gitlab-ce-3fdbfaf3e587a0e25b6351e72d19e3bc1b47b33e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
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}"} +} |