debian-mirror-gitlab/scripts/no-ee-check

8 lines
206 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
#!/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