mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove unused test file for lua-gd
This commit is contained in:
parent
402afb17ae
commit
4f5d1919c3
1 changed files with 0 additions and 24 deletions
24
src/deps/src/lua-gd/test_features.lua
vendored
24
src/deps/src/lua-gd/test_features.lua
vendored
|
|
@ -1,24 +0,0 @@
|
|||
#!/usr/bin/env lua
|
||||
|
||||
local gd = require("gd")
|
||||
|
||||
function enabled(res, desc)
|
||||
local str = " " .. desc .. " "
|
||||
str = str .. string.rep(".", 37 - string.len(str))
|
||||
if res then
|
||||
print(str .. " Enabled")
|
||||
else
|
||||
print(str .. " Disabled")
|
||||
end
|
||||
end
|
||||
|
||||
print("Lua-GD version: " .. gd.VERSION)
|
||||
print("Lua-GD features:")
|
||||
|
||||
enabled(gd.png, "PNG support")
|
||||
enabled(gd.gif, "GIF support")
|
||||
enabled(gd.jpeg, "JPEG support")
|
||||
enabled(gd.createFromXpm, "XPM/XBM support")
|
||||
enabled(gd.stringFT, "FreeType support")
|
||||
enabled(gd.useFontConfig, "Fontconfig support")
|
||||
|
||||
Loading…
Reference in a new issue