diff --git a/bin/lint_required_files.rb b/bin/lint_required_files.rb index ef4ab4f4..646d27b7 100755 --- a/bin/lint_required_files.rb +++ b/bin/lint_required_files.rb @@ -44,6 +44,11 @@ exit_code = 1 end + unless (File.exist?("#{dirname}/uninstall.sh") || File.exist?("#{dirname}/app.yaml")) + puts "#{dirname} doesn't contain an app.yaml or uninstall.sh (one or the other is required)" + exit_code = 1 + end + unless (File.exist?("#{dirname}/install.sh") || File.exist?("#{dirname}/app.yaml")) yaml = YAML.load_file("#{dirname}/manifest.yaml")