From 470f55351bfac96a1a17b36c026caec980a31c96 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 21 May 2018 13:56:56 +0300 Subject: Add check for top-level ee directory in CE repo Signed-off-by: Dmitriy Zaporozhets --- scripts/no-ee-check | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/no-ee-check (limited to 'scripts') 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 -- cgit v1.2.3