summaryrefslogtreecommitdiff
path: root/scripts/builder/frontends/gammaBuilder.py
Unidiff
Diffstat (limited to 'scripts/builder/frontends/gammaBuilder.py') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/builder/frontends/gammaBuilder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/builder/frontends/gammaBuilder.py b/scripts/builder/frontends/gammaBuilder.py
index 35fa68b..a6ecb7b 100644
--- a/scripts/builder/frontends/gammaBuilder.py
+++ b/scripts/builder/frontends/gammaBuilder.py
@@ -3,17 +3,18 @@ import shutil
3 3
4class GammaBuilder(FrontendBuilder): 4class GammaBuilder(FrontendBuilder):
5 5
6 def name(self): 6 def name(self):
7 return "/gamma builder" 7 return "/gamma builder"
8 8
9 def copyStaticResources (self, targetFolder): 9 def copyStaticResources (self, targetFolder):
10 resourcesToCopy = [ 10 resourcesToCopy = [
11 {'folder': 'html', 'source': 'exit_template.html','target': 'exit.html'}, 11 # {'folder': 'html', 'source': 'exit_template.html','target': 'exit.html'},
12 {'folder': 'html', 'source': 'exit_template.html','target': 'logout.html'},
12 {'folder': 'css', 'source': 'static.css', 'target': 'static.css'} 13 {'folder': 'css', 'source': 'static.css', 'target': 'static.css'}
13 ] 14 ]
14 15
15 for resource in resourcesToCopy: 16 for resource in resourcesToCopy:
16 src = self.absolutePathForSourceFile(resource['folder'], resource['source']) 17 src = self.absolutePathForSourceFile(resource['folder'], resource['source'])
17 dst = self.absolutePathForTargetFile(targetFolder, '', resource['target']) 18 dst = self.absolutePathForTargetFile(targetFolder, '', resource['target'])
18 shutil.copy2(src, dst) 19 shutil.copy2(src, dst)
19 20