mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Check out test fonts in screenshotter.sh (#570)
This ensures that running screenshots as indicated by the screenshotter readme will correctly render the Unicode examples, even if not run on Travis. It also fixes the commit ID of the unicode fonts. One alternative would have been using a git submodule. But as many tools will initialize submodules automatically, that would mean big downloads for anyone using such a tool to clone KaTeX. Another alternative would be tweaking the server to fetch the files on demand if the local copy is unavailable. But that would cause additional network overhead, so grabbing the files just once should be simpler.
This commit is contained in:
committed by
Kevin Barabash
parent
7b5580b1fa
commit
94dad8029d
@@ -10,5 +10,4 @@ before_script:
|
||||
- docker images --no-trunc
|
||||
script:
|
||||
- npm test
|
||||
- git clone https://github.com/Khan/KaTeX-test-fonts test/screenshotter/unicode-fonts
|
||||
- dockers/Screenshotter/screenshotter.sh --verify
|
||||
|
Reference in New Issue
Block a user