Skip to content

Commit

Permalink
fixture/cask: fix style violations
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Jan 28, 2024
1 parent 9aabe1b commit 82cdf27
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
}

uninstall launchctl: "com.every.thing.agent",
delete: "/Library/EverythingHelperTools",
kext: "com.every.thing.driver",
signal: [
["TERM", "com.every.thing.controller#{version.major}"],
["TERM", "com.every.thing.bin"],
]
],
kext: "com.every.thing.driver",
delete: "/Library/EverythingHelperTools"

zap trash: [
"~/.everything",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

pkg "MyFancyPkg/Fancy.pkg"

uninstall script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"] },
quit: "my.fancy.package.app",
uninstall quit: "my.fancy.package.app",
login_item: "Fancy",
script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"] },
delete: [
"#{TEST_TMPDIR}/absolute_path",
"#{TEST_TMPDIR}/glob_path*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

pkg "Fancy.pkg"

zap pkgutil: "my.fancy.package.*",
zap launchctl: "my.fancy.package.service",
kext: "my.fancy.package.kernelextension",
launchctl: "my.fancy.package.service"
pkgutil: "my.fancy.package.*"
end
6 changes: 3 additions & 3 deletions Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

uninstall quit: "my.fancy.package.app.from.uninstall"

zap script: {
zap quit: "my.fancy.package.app",
login_item: "Fancy",
script: {
executable: "MyFancyPkg/FancyUninstaller.tool",
args: ["--please"],
},
quit: "my.fancy.package.app",
login_item: "Fancy",
delete: "~/Library/Preferences/my.fancy.app.plist"
end
8 changes: 4 additions & 4 deletions Library/Homebrew/test/support/fixtures/cask/everything.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"uninstall": [
{
"launchctl": "com.every.thing.agent",
"delete": "/Library/EverythingHelperTools",
"kext": "com.every.thing.driver",
"signal": [
[
"TERM",
Expand All @@ -39,7 +37,9 @@
"TERM",
"com.every.thing.bin"
]
]
],
"kext": "com.every.thing.driver",
"delete": "/Library/EverythingHelperTools"
}
]
},
Expand Down Expand Up @@ -101,6 +101,6 @@
],
"ruby_source_path": "Casks/everything.rb",
"ruby_source_checksum": {
"sha256": "0c4af571cce1632fc6a3dcf3e75ba82a3283077ef12399428192c26f9d6f779b"
"sha256": "d8d0d6b2e5ff65388eccb82236fd3aa157b4a29bb043a1f72b97f0e9b70e8320"
}
}

0 comments on commit 82cdf27

Please sign in to comment.