author | Michael Krelin <hacker@klever.net> | 2013-11-22 17:05:41 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2013-11-24 20:03:19 (UTC) |
commit | bcfe3d4f277b5d87e5c3fd56479e07f194a37144 (patch) (unidiff) | |
tree | f2cdd9f27c59e4a17727d9fb353d55e04aed97da /scripts | |
parent | 1180b7b195157aaeb4f0d5380e0c886bbd06c2e2 (diff) | |
download | clipperz-bcfe3d4f277b5d87e5c3fd56479e07f194a37144.zip clipperz-bcfe3d4f277b5d87e5c3fd56479e07f194a37144.tar.gz clipperz-bcfe3d4f277b5d87e5c3fd56479e07f194a37144.tar.bz2 |
nodejs+postgresql backend
-rwxr-xr-x | scripts/builder/backends/nodeBuilder.py | 13 | ||||
-rw-r--r-- | scripts/builder/backends/scriptLanguageBuilder.py | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/scripts/builder/backends/nodeBuilder.py b/scripts/builder/backends/nodeBuilder.py new file mode 100755 index 0000000..bb63204 --- a/dev/null +++ b/scripts/builder/backends/nodeBuilder.py | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/usr/bin/env python | ||
2 | # -*- coding: UTF-8 -*- | ||
3 | |||
4 | from scriptLanguageBuilder import ScriptLanguageBuilder | ||
5 | |||
6 | class NodeBuilder(ScriptLanguageBuilder): | ||
7 | |||
8 | def name(self): | ||
9 | return "Node builder" | ||
10 | |||
11 | |||
12 | def relativePath(self): | ||
13 | return 'node' | ||
diff --git a/scripts/builder/backends/scriptLanguageBuilder.py b/scripts/builder/backends/scriptLanguageBuilder.py index 7d5b31c..f2d32ba 100644 --- a/scripts/builder/backends/scriptLanguageBuilder.py +++ b/scripts/builder/backends/scriptLanguageBuilder.py | |||
@@ -1,11 +1,15 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2 | # -*- coding: UTF-8 -*- | 2 | # -*- coding: UTF-8 -*- |
3 | 3 | ||
4 | import os | ||
4 | import shutil | 5 | import shutil |
5 | from backendBuilder import BackendBuilder | 6 | from backendBuilder import BackendBuilder |
6 | 7 | ||
7 | class ScriptLanguageBuilder(BackendBuilder): | 8 | class ScriptLanguageBuilder(BackendBuilder): |
8 | 9 | ||
10 | def frontEndTempFolder (self): | ||
11 | return os.path.join(self.tempFolder(),'htdocs') | ||
12 | |||
9 | def compileCode (self): | 13 | def compileCode (self): |
10 | src = self.sourceFolder() | 14 | src = self.sourceFolder() |
11 | dst = self.tempFolder() | 15 | dst = self.tempFolder() |