summaryrefslogtreecommitdiff
path: root/scripts/builder
authorGiulio Cesare Solaroli <giulio.cesare@clipperz.com>2013-10-02 07:59:30 (UTC)
committer Giulio Cesare Solaroli <giulio.cesare@clipperz.com>2013-10-02 07:59:30 (UTC)
commit1180b7b195157aaeb4f0d5380e0c886bbd06c2e2 (patch) (unidiff)
tree709e33a09d9325d382aabaf0a0828e20ebdb96db /scripts/builder
parent20bea94ab6b91c85b171dcf86baba0a64169d508 (diff)
downloadclipperz-1180b7b195157aaeb4f0d5380e0c886bbd06c2e2.zip
clipperz-1180b7b195157aaeb4f0d5380e0c886bbd06c2e2.tar.gz
clipperz-1180b7b195157aaeb4f0d5380e0c886bbd06c2e2.tar.bz2
Updated /delta
Switched from less to scss. Still no build script to update the final CSS, though. Added preliminary support for storing account data on browser's local storage for offline viewing. No public backend currently support this feature.
Diffstat (limited to 'scripts/builder') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/builder/frontends/deltaBuilder.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/builder/frontends/deltaBuilder.py b/scripts/builder/frontends/deltaBuilder.py
index a341a83..17ac941 100644
--- a/scripts/builder/frontends/deltaBuilder.py
+++ b/scripts/builder/frontends/deltaBuilder.py
@@ -1,16 +1,23 @@
1from frontendBuilder import FrontendBuilder 1from frontendBuilder import FrontendBuilder
2import shutil 2import shutil
3 3
4class DeltaBuilder(FrontendBuilder): 4class DeltaBuilder(FrontendBuilder):
5 5
6 def name(self): 6 def name(self):
7 return "/delta builder" 7 return "/delta builder"
8 8
9 def projectResourceTypes (self): 9 def projectResourceTypes (self):
10 return ['js', 'css'] 10 return ['js', 'css']
11 11
12 def copyStaticResources (self, targetFolder): 12 def copyStaticResources (self, targetFolder):
13 pass 13 resourcesToCopy = [
14 {'folder': 'properties', 'source': 'manifest.appcache','target': 'manifest.appcache'}
15 ]
16
17 for resource in resourcesToCopy:
18 src = self.absolutePathForSourceFile(resource['folder'], resource['source'])
19 dst = self.absolutePathForTargetFile(targetFolder, '', resource['target'])
20 shutil.copy2(src, dst)
14 21
15 def bookmarklet (self): 22 def bookmarklet (self):
16 return "" \ No newline at end of file 23 return "" \ No newline at end of file