From 83a0c7b826280c7d9d09d0c5826a67c82cfd3016 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 11 Jan 2019 16:49:01 +0100 Subject: Add vendored gitlab-shell to rspec --- _support/makegen.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '_support') diff --git a/_support/makegen.go b/_support/makegen.go index 3bd410f81..e8e7de6ba 100644 --- a/_support/makegen.go +++ b/_support/makegen.go @@ -310,7 +310,7 @@ binaries: assemble prepare-tests: {{ .TestRepo }} {{ .GitTestRepo }} ../.ruby-bundle .PHONY: test -test: test-go rspec +test: test-go rspec rspec-gitlab-shell .PHONY: test-go test-go: prepare-tests @@ -324,6 +324,14 @@ race-go: prepare-tests rspec: assemble-go prepare-tests cd {{ .GitalyRubyDir }} && bundle exec rspec +.PHONY: rspec-gitlab-shell +rspec-gitlab-shell: {{ .GitlabShellDir }}/config.yml assemble-go prepare-tests + # rspec in {{ .GitlabShellRelDir }} + @cd {{ .GitalyRubyDir }} && bundle exec bin/ruby-cd {{ .GitlabShellDir }} rspec + +{{ .GitlabShellDir }}/config.yml: {{ .GitlabShellDir }}/config.yml.example + cp $< $@ + .PHONY: verify verify: lint check-formatting staticcheck govendor-status notice-up-to-date govendor-tagged rubocop -- cgit v1.2.3