-rwxr-xr-x | scripts/builder/backends/nodeBuilder.py | 6 | ||||
-rw-r--r-- | scripts/builder/backends/scriptLanguageBuilder.py | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/builder/backends/nodeBuilder.py b/scripts/builder/backends/nodeBuilder.py index bb63204..783746e 100755 --- a/scripts/builder/backends/nodeBuilder.py +++ b/scripts/builder/backends/nodeBuilder.py @@ -1,13 +1,17 @@ #!/usr/bin/env python # -*- coding: UTF-8 -*- +import os 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') + diff --git a/scripts/builder/backends/scriptLanguageBuilder.py b/scripts/builder/backends/scriptLanguageBuilder.py index f2d32ba..fb8e609 100644 --- a/scripts/builder/backends/scriptLanguageBuilder.py +++ b/scripts/builder/backends/scriptLanguageBuilder.py @@ -4,15 +4,12 @@ import os import shutil from backendBuilder import BackendBuilder class ScriptLanguageBuilder(BackendBuilder): - def frontEndTempFolder (self): - return os.path.join(self.tempFolder(),'htdocs') - def compileCode (self): src = self.sourceFolder() dst = self.tempFolder() shutil.copytree(src, dst) |