remove unused social and search icons
BIN
dist/socials/last.fm.png
vendored
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 308 B |
BIN
dist/socials/login.tagged.com.png
vendored
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 207 B |
BIN
dist/socials/vk.com.png
vendored
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 664 B |
|
@ -1 +0,0 @@
|
||||||
../brand/Google.svg
|
|
Before Width: | Height: | Size: 42 KiB |
|
@ -1 +0,0 @@
|
||||||
ask.com.png.source
|
|
|
@ -1 +0,0 @@
|
||||||
facebook.com.svg
|
|
|
@ -1 +0,0 @@
|
||||||
facebook.com.svg.source
|
|
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 519 B |
|
@ -1 +0,0 @@
|
||||||
linkedin.com.png
|
|
|
@ -1 +0,0 @@
|
||||||
linkedin.com.png.source
|
|
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 1.2 KiB |
|
@ -1 +0,0 @@
|
||||||
twitter.com.svg
|
|
|
@ -1 +0,0 @@
|
||||||
twitter.com.svg.source
|
|
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 333 B |
|
@ -1 +0,0 @@
|
||||||
youtube.com.jpg
|
|
|
@ -1 +0,0 @@
|
||||||
youtube.com.jpg.source
|
|
7
tests.py
|
@ -26,7 +26,8 @@ ignored_source_files = [
|
||||||
"src/flags/gb-wls.svg",
|
"src/flags/gb-wls.svg",
|
||||||
"src/flags/gb-sct.svg",
|
"src/flags/gb-sct.svg",
|
||||||
"src/flags/gb-eng.svg",
|
"src/flags/gb-eng.svg",
|
||||||
"src/flags/gb-nir.svg"
|
"src/flags/gb-nir.svg",
|
||||||
|
"src/flags/es-ct.svg"
|
||||||
]
|
]
|
||||||
|
|
||||||
placeholder_icon_filenames = {
|
placeholder_icon_filenames = {
|
||||||
|
@ -193,8 +194,10 @@ def look_for_search_and_social_icon(source, mode, outputdir):
|
||||||
# print(correct_files)
|
# print(correct_files)
|
||||||
for filetype in ["svg", "png", "gif", "jpg", "ico"]:
|
for filetype in ["svg", "png", "gif", "jpg", "ico"]:
|
||||||
for file in glob(outputdir + "*.{ext}".format(ext=filetype)):
|
for file in glob(outputdir + "*.{ext}".format(ext=filetype)):
|
||||||
if os.path.splitext(os.path.basename(file))[0] not in correct_files:
|
domain = os.path.splitext(os.path.basename(file))[0]
|
||||||
|
if domain not in correct_files and domain != "xx":
|
||||||
print("{file} is not necessary".format(file=file))
|
print("{file} is not necessary".format(file=file))
|
||||||
|
error = True
|
||||||
|
|
||||||
|
|
||||||
def test_if_all_search_and_social_sites_have_an_icon():
|
def test_if_all_search_and_social_sites_have_an_icon():
|
||||||
|
|