Main entry point
()
| 960 | return success |
| 961 | |
| 962 | def main(): |
| 963 | """Main entry point""" |
| 964 | try: |
| 965 | print(f"") |
| 966 | print(f"{'='*80}") |
| 967 | print(f"{PROJECT_NAME} v{VERSION} Professional Build System") |
| 968 | print(f"{DESCRIPTION}") |
| 969 | print(f"Author: {AUTHOR}") |
| 970 | print(f"{'='*80}") |
| 971 | print(f"") |
| 972 | |
| 973 | build_system = CompleteBuildSystem() |
| 974 | success = build_system.run_build() |
| 975 | |
| 976 | return 0 if success else 1 |
| 977 | |
| 978 | except KeyboardInterrupt: |
| 979 | logger.error("Build interrupted by user") |
| 980 | return 1 |
| 981 | |
| 982 | except Exception as e: |
| 983 | logger.error(f"Unhandled exception in build system: {e}") |
| 984 | import traceback |
| 985 | traceback.print_exc() |
| 986 | return 1 |
| 987 | |
| 988 | if __name__ == "__main__": |
| 989 | sys.exit(main()) |
no test coverage detected