summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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
@@ -1,17 +1,24 @@
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
+import shutil
from scriptLanguageBuilder import ScriptLanguageBuilder
class NodeBuilder(ScriptLanguageBuilder):
def name(self):
return "Node builder"
def relativePath(self):
return 'node'
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'))
+