1180b7b195
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.
23 lines
619 B
Python
23 lines
619 B
Python
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):
|
|
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 "" |