Add test font as submodule
This commit is contained in:
parent
9e255874f4
commit
dd53c05988
4 changed files with 33 additions and 0 deletions
15
Formula/font-test.rb
Normal file
15
Formula/font-test.rb
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class FontTest < Formula
|
||||
desc "Test font"
|
||||
homepage "http://clancy.genet-godzilla.ts.net:3002/fishy/homebrew-font-test"
|
||||
url "http://clancy.genet-godzilla.ts.net:3002/fishy/homebrew-font-test/raw/branch/main/test.zip"
|
||||
sha256 "b6de15290696645b8cb5a6a96f9124f0a87e65f85b23f7369f4e412c67306c59"
|
||||
version "1.0.0"
|
||||
|
||||
def install
|
||||
(share/"fonts").install Dir["*.zip"]
|
||||
end
|
||||
|
||||
test do
|
||||
assert_predicate share/"fonts/#test.#zip", :exist?
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue