password-manager/scripts/builder/frontends/betaBuilder.py
Giulio Cesare Solaroli f8da092f3d Interim synchronization with internal repository
This is an intermir commit to share what is going on with the development of the new /delta version.
2014-07-28 18:07:48 +02:00

21 lines
589 B
Python

from frontendBuilder import FrontendBuilder
import shutil
class BetaBuilder(FrontendBuilder):
def name(self):
return "/beta builder"
def projectResourceTypes (self):
return ['js', 'css', 'images']
# def copyStaticResources (self, targetFolder):
def copyResourcesToFolder (self, targetFolder):
self.copyResources(self.projectDir, targetFolder, 'images')
for file in self.filterFiles(self.settings['staticResources']):
src = self.absolutePathForSourceFile('staticResources', file)
dst = self.absolutePathForTargetFile(targetFolder, '', file)
shutil.copy2(src, dst)