summaryrefslogtreecommitdiff
path: root/scripts/builder/frontends/betaBuilder.py
blob: 9b324040d6f49417aac3c402d189ca5d946ae81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)