How to use the tmt.WinstoneServer.dist function in tmt

To help you get started, we’ve selected a few tmt examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thewca / tnoodle / winstone / tmtproject.py View on Github external
def webContentDist(self):
            # We just compiled ourself, which caused a recompile
            # of winstone server, so there's no need to recompile it.
            # In fact, recompiling it would be bad, as it would nuke
            # our carefully constructed tnoodle_resources.
            tmt.WinstoneServer.dist(noRemake=True, implementationTitle=self.fullName)
            tmt.WinstoneServer.distJarFile()
            shutil.copy(tmt.WinstoneServer.distJarFile(), self.distJarFile())
        project.__class__.webContentDist = webContentDist