Add test font as submodule
This commit is contained in:
parent
9e255874f4
commit
dd53c05988
4 changed files with 33 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "fonts/test"]
|
||||
path = fonts/test
|
||||
url = http://clancy.genet-godzilla.ts.net:3002/fishy/homebrew-font-test.git
|
||||
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
|
||||
14
fonts/index.json
Normal file
14
fonts/index.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"fonts": [
|
||||
{
|
||||
"name": "buffalo",
|
||||
"path": "fonts/buffalo",
|
||||
"formula": "font-buffalo"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"path": "fonts/test",
|
||||
"formula": "font-test"
|
||||
}
|
||||
]
|
||||
}
|
||||
1
fonts/test
Submodule
1
fonts/test
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 68f09e1435eaf27c7bad8e3c48ca3c3f2a1c662c
|
||||
Loading…
Add table
Add a link
Reference in a new issue