diff options
author | Rémy Coutable <remy@rymai.me> | 2018-05-22 16:26:30 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-05-22 16:26:30 +0000 |
commit | 0c977d1725ce2c244b8b9f5cee859c55b8def79b (patch) | |
tree | bc108633cfb8fcd0fcf25b1ba72440259fd7afb9 /scripts | |
parent | 86c155a190ef55c8c7eb42c6045660ef895707e8 (diff) | |
parent | fba580e37fce90060e5a208c36779a6a2adc3a78 (diff) | |
download | gitlab-ce-0c977d1725ce2c244b8b9f5cee859c55b8def79b.tar.gz |
Merge branch 'dz-no-ee-check' into 'master'
Add check for top-level ee directory in CE repo
Closes #46239
See merge request gitlab-org/gitlab-ce!19062
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/no-ee-check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/no-ee-check b/scripts/no-ee-check new file mode 100755 index 00000000000..29d319dc822 --- /dev/null +++ b/scripts/no-ee-check @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby +ee_path = File.join(File.expand_path(__dir__), '../ee') + +if Dir.exist?(ee_path) + puts 'The repository contains /ee directory. There should be no /ee directory in CE repo.' + exit 1 +end |