summaryrefslogtreecommitdiff
path: root/scripts
Unidiff
Diffstat (limited to 'scripts') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/builder/backends/nodeBuilder.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/builder/backends/nodeBuilder.py b/scripts/builder/backends/nodeBuilder.py
index 783746e..ab43144 100755
--- a/scripts/builder/backends/nodeBuilder.py
+++ b/scripts/builder/backends/nodeBuilder.py
@@ -2,6 +2,7 @@
2# -*- coding: UTF-8 -*- 2# -*- coding: UTF-8 -*-
3 3
4import os 4import os
5import shutil
5from scriptLanguageBuilder import ScriptLanguageBuilder 6from scriptLanguageBuilder import ScriptLanguageBuilder
6 7
7class NodeBuilder(ScriptLanguageBuilder): 8class NodeBuilder(ScriptLanguageBuilder):
@@ -15,3 +16,9 @@ class NodeBuilder(ScriptLanguageBuilder):
15 def frontEndTempFolder (self): 16 def frontEndTempFolder (self):
16 return os.path.join(self.tempFolder(),'htdocs') 17 return os.path.join(self.tempFolder(),'htdocs')
17 18
19 def compileCode (self):
20 src = self.sourceFolder()
21 dst = self.tempFolder()
22
23 shutil.copytree(src, dst, ignore = shutil.ignore_patterns('htdocs','node_modules'))
24