Fix archive path: homebrew-fonts-main → homebrew-fonts
Gitea archives unpack as homebrew-fonts/, not homebrew-fonts-main/. Updated formula generator, tests, and docs to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
387a4795d7
commit
a85f0e9b53
138 changed files with 551 additions and 540 deletions
|
|
@ -19,23 +19,23 @@ class FontDevilsCut < Formula
|
|||
(share/"fonts/webfonts").mkpath
|
||||
|
||||
# Install TTF fonts
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-devils-cut/ttf/*.ttf").each do |font|
|
||||
Dir.glob("homebrew-fonts/font_files/font-devils-cut/ttf/*.ttf").each do |font|
|
||||
system "cp", font, share/"fonts/truetype"
|
||||
end
|
||||
|
||||
# Install OTF fonts
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-devils-cut/otf/*.otf").each do |font|
|
||||
Dir.glob("homebrew-fonts/font_files/font-devils-cut/otf/*.otf").each do |font|
|
||||
system "cp", font, share/"fonts/opentype"
|
||||
end
|
||||
|
||||
# Install web fonts
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-devils-cut/web/*.{woff,woff2,eot,svg}").each do |font|
|
||||
Dir.glob("homebrew-fonts/font_files/font-devils-cut/web/*.{woff,woff2,eot,svg}").each do |font|
|
||||
system "cp", font, share/"fonts/webfonts"
|
||||
end
|
||||
|
||||
# Install documentation and other files
|
||||
(share/"devils-cut").mkpath
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-devils-cut/other_files/*").each do |file|
|
||||
Dir.glob("homebrew-fonts/font_files/font-devils-cut/other_files/*").each do |file|
|
||||
system "cp", "-r", file, share/"devils-cut"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue