tools: Added ar for ".a" archive files.

This commit is contained in:
Andrew Hamilton 2018-06-04 08:51:07 +10:00
parent 2963bb078a
commit ba1e869603
2 changed files with 11 additions and 3 deletions

View file

@ -24,7 +24,8 @@ tools_for_extensions = [
[["rar"], ["unrar"]],
[["7z"], ["7z"]],
[["xz"], ["unxz"]],
[["a", "so"], ["nm"]],
[["a"], ["ar", "nm"]],
[["so"], ["nm"]],
[["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["identify", "pil",
"pil_half"]],
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
@ -106,6 +107,12 @@ tools_for_extensions = [
command = "unxz -l"
success_status = "normal"
[ar]
dependencies = ["binutils"]
url = "https://en.wikipedia.org/wiki/Ar_(Unix)"
command = "ar t"
success_status = "normal"
[nm]
dependencies = ["binutils"]
url = "https://linux.die.net/man/1/nm"