summaryrefslogtreecommitdiff
path: root/scripts/no-ee-check
blob: bd53de5a9499e3cb81e8ac70fa1005695f5717c4 (plain)
1
2
3
4
5
6
7
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