Permalink
Browse files

Rename some classes

  • Loading branch information...
kynikos committed Apr 12, 2015
1 parent 96fd769 commit 0b4a6ab07a00837c1d81749e57a9adccd9b1bf6f
Showing with 5 additions and 5 deletions.
  1. +2 −2 wembler/__init__.py
  2. +1 −1 wembler/processes.py
  3. +2 −2 wembler_.py
@@ -60,13 +60,13 @@ def build(self):
self.factory.begin()
def SimpleStaticWebsite(url_prefix, css_style):
def SimpleStatic(url_prefix, css_style):
TEMPLATE_DIR = './templates'
return (
(processes.FileLoader(
basedir=TEMPLATE_DIR,
), None, ('templates', )),
(processes.SimpleStaticWebsite(
(processes.JinjaSass(
template_dir=TEMPLATE_DIR,
url_prefix=url_prefix,
css_dir='./scss',
@@ -39,7 +39,7 @@ def process(self, dummy):
yield (fname, )
class SimpleStaticWebsite:
class JinjaSass:
# TODO: JS minifier
def __init__(self, template_dir, url_prefix, css_dir, css_style,
output_dir):
@@ -19,7 +19,7 @@
# along with Wembler. If not, see <http://www.gnu.org/licenses/>.
import argparse
from wembler import Wembler, SimpleStaticWebsite
from wembler import Wembler, SimpleStatic
def _parse_cli_args():
@@ -33,4 +33,4 @@ def _parse_cli_args():
help='enable debug mode')
return vars(cliparser.parse_args())
Wembler(SimpleStaticWebsite, **_parse_cli_args()).build()
Wembler(SimpleStatic, **_parse_cli_args()).build()

0 comments on commit 0b4a6ab

Please sign in to comment.