-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,6 +1,7 @@ #!/usr/bin/env python # -*- coding: UTF-8 -*- +import os from scriptLanguageBuilder import ScriptLanguageBuilder class NodeBuilder(ScriptLanguageBuilder): @@ -8,6 +9,9 @@ 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 @@ -7,9 +7,6 @@ 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() |