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

10 lines
237 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
#!/usr/bin/env ruby
2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
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