def Build(self):
    """Build templates."""
    self.SetupVars()
    self.Clean()

    if not os.path.exists(args.grr_src):
      self.GitCheckoutGRR()
    proto_sdist = self.MakeProtoSdist()
    core_sdist = self.MakeCoreSdist()
    client_sdist = self.MakeClientSdist()
    client_builder_sdist = self.MakeClientBuilderSdist()

    self.InstallGRR(proto_sdist)
    self.InstallGRR(core_sdist)
    self.InstallGRR(client_sdist)
    self.InstallGRR(client_builder_sdist)
    self.BuildTemplates()
    if args.test_repack_install:
      self._RepackTemplates()
      self._InstallInstallers()
def Build ( self ) : self . SetupVars ( ) self . Clean ( ) if not os . path . exists ( args . grr_src ) : self . GitCheckoutGRR ( ) proto_sdist = self . MakeProtoSdist ( ) core_sdist = self . MakeCoreSdist ( ) client_sdist = self . MakeClientSdist ( ) client_builder_sdist = self . MakeClientBuilderSdist ( ) self . InstallGRR ( proto_sdist ) self . InstallGRR ( core_sdist ) self . InstallGRR ( client_sdist ) self . InstallGRR ( client_builder_sdist ) self . BuildTemplates ( ) if args . test_repack_install : self . _RepackTemplates ( ) self . _InstallInstallers ( )
Build templates.