exa: init pkg (#16553)

This commit is contained in:
Erick Friis
2024-01-24 20:57:17 -07:00
committed by GitHub
parent c4e9c9ca29
commit adc008407e
27 changed files with 1521 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
import sys
import traceback
from importlib.machinery import SourceFileLoader
if __name__ == "__main__":
files = sys.argv[1:]
has_failure = False
for file in files:
try:
SourceFileLoader("x", file).load_module()
except Exception:
has_faillure = True
print(file)
traceback.print_exc()
print()
sys.exit(1 if has_failure else 0)