diff options
author | luxagraf <sng@luxagraf.net> | 2015-10-29 22:04:49 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-10-29 22:04:49 -0400 |
commit | 9cf6133547c5c36f03c4b3f8f9d80f50d1dea047 (patch) | |
tree | 411489f16e0c7d43f7ba6b1699d1c8f9ab39c1ab /app/builder | |
parent | f4349438fd0cd9290286761e0391acfed238de95 (diff) |
added build script for src. let's do this thing.
Diffstat (limited to 'app/builder')
-rw-r--r-- | app/builder/views.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/builder/views.py b/app/builder/views.py index 0d69c60..2efb696 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -3,6 +3,7 @@ from django.template import RequestContext from django.conf import settings from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap, BuildPages, BuildBooks #from pages.models import PageGenerator +from src.build import BuildSrc options = { 'writing': BuildWriting, @@ -43,6 +44,10 @@ def do_build(request): elif section == 'buildbooks': context = {'message': 'Writing Book Pages to Disk'} BuildBooks().build() + elif section == 'src': + context = {'message': 'Writing src section to Disk'} + BuildSrc().build() + elif section == 'scrapeflickr': from photos.retriever import SyncFlickr f = SyncFlickr() |