homebrew-cask/Casks/s/swiftformat-for-xcode.rb

21 lines
785 B
Ruby

cask "swiftformat-for-xcode" do
version "0.54.0"
sha256 "3ce4dae19566e1ac8ff56653674c17d94aaf39ddf0a5e206cf9457bdb848d745"
url "https://github.com/nicklockwood/SwiftFormat/releases/download/#{version}/SwiftFormat.for.Xcode.app.zip"
name "SwiftFormat for Xcode"
desc "Xcode Extension for reformatting Swift code"
homepage "https://github.com/nicklockwood/SwiftFormat"
depends_on macos: ">= :mojave"
app "SwiftFormat for Xcode.app"
zap trash: [
"~/Library/Application Scripts/com.charcoaldesign.SwiftFormat-for-Xcode",
"~/Library/Application Scripts/com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension",
"~/Library/Containers/com.charcoaldesign.SwiftFormat-for-Xcode",
"~/Library/Group Containers/com.charcoaldesign.SwiftFormat",
]
end