debian-mirror-gitlab/scripts/no-ee-check
2018-11-08 19:23:39 +05:30

7 lines
206 B
Ruby
Executable file

#!/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