def compile(self):
   self.pretreatment(self._SOURCE_PATH, self._DESTINATION_PATH)
   os.chdir(self._DESTINATION_PATH)
   self.setPreprodConfig(os.path.join(self._DESTINATION_PATH, 'config/config.js'))
   Compiler.compile(self)
   self.compileTest()
   self.removeUnpreservedFiles()
  def compile(self):
    self.pretreatment(self._SOURCE_PATH, self._DESTINATION_PATH)
    os.chdir(self._DESTINATION_PATH)
    self.setProdConfig(os.path.join(self._DESTINATION_PATH, 'src/config/config.js'))
    Compiler.compile(self)

    self.removeUnpreservedFiles()
    print "@@@@" + self._PROD_DESTINATION_PATH
    self.zip(self._PROD_DESTINATION_PATH, os.path.join(self._PROD_DESTINATION_PATH, '..', 'cottontracks'))
Пример #3
0
 def compile(self):
   self.pretreatment(self._SOURCE_PATH, self._DESTINATION_PATH)
   os.chdir(self._DESTINATION_PATH)
   Compiler.compile(self)
   self.compileTest()
   self.createIntegrationTests()