summaryrefslogtreecommitdiff
path: root/scripts
Side-by-side diff
Diffstat (limited to 'scripts') (more/less context) (show 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 @@
# -*- coding: UTF-8 -*-
import os
+import shutil
from scriptLanguageBuilder import ScriptLanguageBuilder
class NodeBuilder(ScriptLanguageBuilder):
@@ -15,3 +16,9 @@ class NodeBuilder(ScriptLanguageBuilder):
def frontEndTempFolder (self):
return os.path.join(self.tempFolder(),'htdocs')
+ def compileCode (self):
+ src = self.sourceFolder()
+ dst = self.tempFolder()
+
+ shutil.copytree(src, dst, ignore = shutil.ignore_patterns('htdocs','node_modules'))
+