Skip to content

Commit

Permalink
font-cormorant-garamond updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tani committed Jan 12, 2025
1 parent 364a057 commit 12ed187
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Formula/font-cormorant-garamond.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,8 @@ class FontCormorantGaramond < Formula
only_path: "ofl/cormorantgaramond"

def install
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-Bold.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-Italic.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-Light.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-LightItalic.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-Medium.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-MediumItalic.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-Regular.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-SemiBold.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-SemiBoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond-Italic?wght?.ttf")[0]
(share/"fonts").install Dir.glob("ofl/cormorantgaramond/./**/CormorantGaramond?wght?.ttf")[0]
end

test do
Expand Down

0 comments on commit 12ed187

Please sign in to comment.