code: def add_main_manifest_entry(jar, binary):
      
      main = binary.main
      if main is not None:
        jar.main(main)
docs: Creates a jar manifest for the given binary.
  
      If the binary declares a main then a 'Main-Class' manifest entry will be included.