Skip to content

Commit

Permalink
Merge pull request #196932 from Homebrew/update-syntax-highlight
Browse files Browse the repository at this point in the history
syntax-highlight: add livecheck, update minimum macOS
  • Loading branch information
bevanjkay authored Jan 1, 2025
2 parents 5894797 + 905a81e commit f4d4cae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,7 @@ swiftformat-for-xcode
sync
syncovery
syncthing
syntax-highlight
tabby
tableflip
tableplus
Expand Down
7 changes: 6 additions & 1 deletion Casks/s/syntax-highlight.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
desc "Quicklook extension for source files"
homepage "https://github.com/sbarex/SourceCodeSyntaxHighlight"

livecheck do
url "https://sbarex.github.io/SourceCodeSyntaxHighlight/appcast.xml"
strategy :sparkle, &:short_version
end

auto_updates true
depends_on macos: ">= :catalina"
depends_on macos: ">= :big_sur"

app "Syntax Highlight.app"
binary "#{appdir}/Syntax Highlight.app/Contents/Resources/syntax_highlight_cli"
Expand Down

0 comments on commit f4d4cae

Please sign in to comment.