From 7759f50a024a3e450237c308562ae745c808d2e1 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 26 Nov 2013 20:16:08 +0000 Subject: builder: moved temp folder adjustements where it belongs it wasn't meant to be in the script language builder, but only should've affected node backend --- (limited to 'scripts') 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() -- cgit v0.9.0.2