summaryrefslogtreecommitdiff
path: root/scripts/builder
Side-by-side diff
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 @@
from frontendBuilder import FrontendBuilder
import shutil
class DeltaBuilder(FrontendBuilder):
def name(self):
return "/delta builder"
def projectResourceTypes (self):
return ['js', 'css']
def copyStaticResources (self, targetFolder):
- pass
+ resourcesToCopy = [
+ {'folder': 'properties', 'source': 'manifest.appcache', 'target': 'manifest.appcache'}
+ ]
+
+ for resource in resourcesToCopy:
+ src = self.absolutePathForSourceFile(resource['folder'], resource['source'])
+ dst = self.absolutePathForTargetFile(targetFolder, '', resource['target'])
+ shutil.copy2(src, dst)
def bookmarklet (self):
return "" \ No newline at end of file