diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-05-21 13:56:56 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-05-21 14:52:45 +0300 |
commit | 470f55351bfac96a1a17b36c026caec980a31c96 (patch) | |
tree | e56e6fbfc33745a900d89c6e21eb708aaf6f5538 /scripts | |
parent | cf7f3606d3bca3dfb481323aaa4f3dc50ca1a089 (diff) | |
download | gitlab-ce-470f55351bfac96a1a17b36c026caec980a31c96.tar.gz |
Add check for top-level ee directory in CE repo
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/no-ee-check | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/no-ee-check b/scripts/no-ee-check new file mode 100755 index 00000000000..bd53de5a949 --- /dev/null +++ b/scripts/no-ee-check @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby +ee_path = File.join(File.expand_path(File.dirname(__FILE__)), '../ee') +result = Dir.exist?(ee_path) + +if result + puts 'The repository contains /ee directory. There should be no /ee directory in CE repo.' + exit 1 +end |