summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index aaa3098..b21d1b0 100644
--- a/Makefile
+++ b/Makefile
@@ -13,17 +13,14 @@ verify_golang:
test: test_ruby test_golang
test_ruby:
- # bin/gitlab-shell must exist and needs to be the Ruby version for
- # rspec to be able to test.
+ # bin/gitlab-shell, bin/gitlab-shell-authorized-keys-check and
+ # bin/gitlab-shell-authorized-principals-check must exist and need to be
+ # the Ruby version for rspec to be able to test.
cp bin/gitlab-shell-ruby bin/gitlab-shell
- # bin/gitlab-shell-authorized-keys-check and bin/gitlab-shell-authorized-principals-check
- # should link to ruby scripts for rspec to be able to test.
- ln -sf ./gitlab-shell-authorized-keys-check-ruby bin/gitlab-shell-authorized-keys-check
- ln -sf ./gitlab-shell-authorized-principals-check-ruby bin/gitlab-shell-authorized-principals-check
+ cp bin/gitlab-shell-authorized-keys-check-ruby bin/gitlab-shell-authorized-keys-check
+ cp bin/gitlab-shell-authorized-principals-check-ruby bin/gitlab-shell-authorized-principals-check
bundle exec rspec --color --tag '~go' --format d spec
- rm -f bin/gitlab-shell
- ln -sf ./gitlab-shell bin/gitlab-shell-authorized-keys-check
- ln -sf ./gitlab-shell bin/gitlab-shell-authorized-principals-check
+ rm -f bin/gitlab-shell bin/gitlab-shell-authorized-keys-check bin/gitlab-shell-authorized-principals-check
test_golang:
support/go-test
@@ -42,4 +39,4 @@ check:
bin/check
clean:
- rm -f bin/gitlab-shell
+ rm -f bin/gitlab-shell bin/gitlab-shell-authorized-keys-check bin/gitlab-shell-authorized-principals-check