-rwxr-xr-x | scripts/builder/backends/nodeBuilder.py | 7 |
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 @@ -3,4 +3,5 @@ import os +import shutil from scriptLanguageBuilder import ScriptLanguageBuilder @@ -16,2 +17,8 @@ class NodeBuilder(ScriptLanguageBuilder): 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')) + |