summaryrefslogtreecommitdiff
path: root/scripts/builder/backends/nodeBuilder.py
Side-by-side diff
Diffstat (limited to 'scripts/builder/backends/nodeBuilder.py') (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
@@ -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'))
+