mirror of
https://github.com/smogon/sprites.git
synced 2026-09-09 02:25:35 -05:00
fix build for new naming scheme
This commit is contained in:
@@ -74,7 +74,7 @@ rule{
|
||||
-- Smogdex social images
|
||||
|
||||
for file in iglob("newsrc/models/*") do
|
||||
if tup.base(file):find("b") or tup.base(file):find("s") then
|
||||
if tup.base(file):find("-b") or tup.base(file):find("-s") then
|
||||
goto continue
|
||||
end
|
||||
|
||||
@@ -139,7 +139,7 @@ foreach_rule{
|
||||
},
|
||||
key="%B",
|
||||
filter=function()
|
||||
return not ((expand("%B")):find("b") or (expand("%B")):find("s")) and not glob_matches("newsrc/dex/%B.png")
|
||||
return not ((expand("%B")):find("-b") or (expand("%B")):find("-s")) and not glob_matches("newsrc/dex/%B.png")
|
||||
end,
|
||||
output="build/padded-dex/%B-missing.png",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user