# This file was generated by GoReleaser. DO NOT EDIT.
cask "zap" do
  version "1.0.1"

  on_macos do
    on_intel do
      sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      url "https://dummyhost/download/v#{version}/bin.tgz"
    end
    on_arm do
      sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      url "https://dummyhost/download/v#{version}/bin.txz"
    end
  end

  on_linux do
    on_intel do
      sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      url "https://dummyhost/download/v#{version}/bin.tar.zst"
    end
  end

  name "zap"
  desc "Run pipe test formula and FOO=foo_is_bar"
  homepage ""

  livecheck do
    skip "Auto-generated on release."
  end
  conflicts_with cask: [
      "fish",
    ]

  depends_on cask: [
      "fish",
      "powershell",
    ],
    formula: [
      "ash",
      "bash",
      "zsh",
    ]

  binary "zap"

  service "foo.plist"

  postflight do
    system "echo"
    touch "/tmp/hi"
  end

  zap launchctl: [
      "launchctl1",
      "launchctl2",
      "launchctl3",
    ],
    quit: [
      "quit1",
      "quit2",
      "quit3",
    ],
    login_item: [
      "loginitem1",
      "loginitem2",
      "loginitem3",
    ],
    delete: [
      "delete1",
      "delete2",
      "delete3",
    ],
    trash: [
      "trash1",
      "trash2",
      "trash3",
    ]

  caveats <<~EOS
    don't do this zap
  EOS
end
