1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-01-10 12:20:03 +01:00
password-manager-mirror/scripts/builder/frontends/betaBuilder.py

21 lines
589 B
Python
Raw Normal View History

2013-01-08 16:12:19 +01:00
from frontendBuilder import FrontendBuilder
import shutil
class BetaBuilder(FrontendBuilder):
def name(self):
return "/beta builder"
2013-08-30 17:56:53 +02:00
def projectResourceTypes (self):
return ['js', 'css', 'images']
# def copyStaticResources (self, targetFolder):
def copyResourcesToFolder (self, targetFolder):
self.copyResources(self.projectDir, targetFolder, 'images')
2013-01-08 16:12:19 +01:00
for file in self.filterFiles(self.settings['staticResources']):
src = self.absolutePathForSourceFile('staticResources', file)
dst = self.absolutePathForTargetFile(targetFolder, '', file)
shutil.copy2(src, dst)