summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab/dev.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/dev.rake')
-rw-r--r--lib/tasks/gitlab/dev.rake5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/dev.rake b/lib/tasks/gitlab/dev.rake
index 7ccda04a35f..3eade7bf553 100644
--- a/lib/tasks/gitlab/dev.rake
+++ b/lib/tasks/gitlab/dev.rake
@@ -13,7 +13,10 @@ namespace :gitlab do
args
end
- if Gitlab::EeCompatCheck.new(opts || {}).check
+ if File.basename(Rails.root) == 'gitlab-ee'
+ puts "Skipping EE projects"
+ exit 0
+ elsif Gitlab::EeCompatCheck.new(opts || {}).check
exit 0
else
exit 1