22 lines
711 B
Python
Executable File
22 lines
711 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""takes results of compatibility tests and compie into one file"""
|
|
|
|
import os
|
|
import sys
|
|
|
|
from compile_matrix import print_breakdowns
|
|
|
|
|
|
def content_checker(filepath):
|
|
return os.path.getsize(filepath) > 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
print("## Minimal Effort Compatibility")
|
|
print(
|
|
"Checks if `icloudpd` can be installed using minimal effort and ran bare minimum functionality of displaying a version information. Minimal effort may require installing default version of package manager using OS tools"
|
|
)
|
|
print("")
|
|
folder = sys.argv[1] if len(sys.argv) > 1 else "."
|
|
print_breakdowns(folder, content_checker, ("(src)", "Test pass using src (for pip)"))
|