aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/artifact/zap.rb
blob: 8bd8da63bb91bd580c4f8d5ec65d7411d93b3e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require "hbc/artifact/uninstall_base"

class Hbc::Artifact::Zap < Hbc::Artifact::UninstallBase
  def install_phase
    odebug "Nothing to do. The zap artifact has no install phase."
  end

  def uninstall_phase
    odebug "Nothing to do. The zap artifact has no uninstall phase."
  end

  def zap_phase
    expand_tilde = true
    dispatch_uninstall_directives(expand_tilde)
  end
end