password-manager/scripts/builder/frontends/betaBuilder.py
2013-08-30 23:23:42 +02:00

18 lines
476 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):
for file in self.filterFiles(self.settings['staticResources']):
src = self.absolutePathForSourceFile('staticResources', file)
dst = self.absolutePathForTargetFile(targetFolder, '', file)
shutil.copy2(src, dst)