-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Commit
Signed-off-by: Patrick Linnane <patrick@linnane.io>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
cask "font-0xproto-nerd-font" do | ||
Check failure on line 1 in Casks/font/0/font-0xproto-nerd-font.rb GitHub Actions / syntax (macos-13)
Check failure on line 1 in Casks/font/0/font-0xproto-nerd-font.rb GitHub Actions / test font-0xproto-nerd-font (macos-13, intel)
|
||
version "3.2.1" | ||
sha256 "103f8dff0b6c06687a08cbe91bd446e03935ac6dbc0ba6f426967b45e3edd3b6" | ||
|
||
url "https://github.com/ryanoasis/nerd-fonts/releases/download/v#{version}/0xProto.zip" | ||
name "0xProto Nerd Font (0xProto)" | ||
desc "Developer targeted fonts with a high number of glyphs" | ||
homepage "https://github.com/ryanoasis/nerd-fonts" | ||
|
||
livecheck do | ||
url :url | ||
strategy :github_latest | ||
end | ||
|
||
font "0xProtoNerdFont-Regular.ttf" | ||
font "0xProtoNerdFontMono-Regular.ttf" | ||
font "0xProtoNerdFontPropo-Regular.ttf" | ||
|
||
# No zap stanza required | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
cask "font-0xproto" do | ||
Check failure on line 1 in Casks/font/0/font-0xproto.rb GitHub Actions / syntax (macos-13)
Check failure on line 1 in Casks/font/0/font-0xproto.rb GitHub Actions / test font-0xproto (macos-13, intel)
|
||
version "2.000" | ||
sha256 "ef69ffaa0f7ebab546081aa9b551b34db12f832627b75cb420164a07d9c6b4d0" | ||
|
||
url "https://github.com/0xType/0xProto/releases/download/#{version}/0xProto_#{version.dots_to_underscores}.zip" | ||
name "0xProto" | ||
desc "Programming font focused on source code legibility" | ||
homepage "https://github.com/0xType/0xProto" | ||
|
||
font "fonts/0xProto-Regular.otf" | ||
font "fonts/0xProto-Italic.otf" | ||
|
||
# No zap stanza required | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cask "font-3270-nerd-font" do | ||
Check failure on line 1 in Casks/font/3/font-3270-nerd-font.rb GitHub Actions / syntax (macos-13)
Check failure on line 1 in Casks/font/3/font-3270-nerd-font.rb GitHub Actions / test font-3270-nerd-font (macos-13, intel)
|
||
version "3.2.1" | ||
sha256 "0e7cffe10575de3d80df920065ea6f320e86cd515ddd16beed817d284ba44afc" | ||
|
||
url "https://github.com/ryanoasis/nerd-fonts/releases/download/v#{version}/3270.zip" | ||
name "3270 Nerd Font (IBM 3270)" | ||
desc "Developer targeted fonts with a high number of glyphs" | ||
homepage "https://github.com/ryanoasis/nerd-fonts" | ||
|
||
livecheck do | ||
url :url | ||
strategy :github_latest | ||
end | ||
|
||
font "3270NerdFont-Condensed.ttf" | ||
font "3270NerdFont-Regular.ttf" | ||
font "3270NerdFont-SemiCondensed.ttf" | ||
font "3270NerdFontMono-Condensed.ttf" | ||
font "3270NerdFontMono-Regular.ttf" | ||
font "3270NerdFontMono-SemiCondensed.ttf" | ||
font "3270NerdFontPropo-Condensed.ttf" | ||
font "3270NerdFontPropo-Regular.ttf" | ||
font "3270NerdFontPropo-SemiCondensed.ttf" | ||
|
||
# No zap stanza required | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
cask "font-3270" do | ||
Check failure on line 1 in Casks/font/3/font-3270.rb GitHub Actions / syntax (macos-13)
Check failure on line 1 in Casks/font/3/font-3270.rb GitHub Actions / test font-3270 (macos-13, intel)
|
||
version "3.0.1,d916271" | ||
sha256 "623fb815b16d6c4940b5014a21c5474ef6cddb02c325d03f153341b676b4cffa" | ||
|
||
url "https://github.com/rbanffy/3270font/releases/download/v#{version.csv.first}/3270_fonts_#{version.csv.second}.zip" | ||
name "IBM 3270" | ||
desc "Derived from the x3270 font" | ||
homepage "https://github.com/rbanffy/3270font" | ||
|
||
livecheck do | ||
url "https://github.com/rbanffy/3270font/releases/latest" | ||
regex(%r{v?(\d+(?:\.\d+)+)/3270[._-]fonts[._-](.*)\.zip}i) | ||
strategy :github_releases do |json, regex| | ||
json.first["assets"].map do |asset| | ||
match = asset["browser_download_url"].match(regex) | ||
next if match.blank? | ||
|
||
"#{match[1]},#{match[2]}" | ||
end | ||
end | ||
end | ||
|
||
font "3270-Regular.otf" | ||
font "3270-Regular.ttf" | ||
font "3270Condensed-Regular.otf" | ||
font "3270Condensed-Regular.ttf" | ||
font "3270SemiCondensed-Regular.otf" | ||
font "3270SemiCondensed-Regular.ttf" | ||
|
||
# No zap stanza required | ||
end |