Skip to content

Commit

Permalink
Fixes civo#762 - ensure uninstall script is present in marketplace app
Browse files Browse the repository at this point in the history
  • Loading branch information
milindchawre-tomtom committed May 2, 2024
1 parent b879804 commit 9a10191
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/lint_required_files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 9a10191

Please sign in to comment.