Mercurial > piecrust2
diff piecrust/commands/builtin/baking.py @ 199:aaf08277b96d
bake: Remove `--portable` option until it's (maybe) implemented.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Jan 2015 20:41:44 -0800 |
parents | 5d8351cb32d8 |
children | 0c9de41689bb |
line wrap: on
line diff
--- a/piecrust/commands/builtin/baking.py Tue Jan 13 20:40:22 2015 -0800 +++ b/piecrust/commands/builtin/baking.py Tue Jan 13 20:41:44 2015 -0800 @@ -32,20 +32,11 @@ help="Force re-baking the entire website.", action='store_true') parser.add_argument( - '--portable', - help="Uses relative paths for all URLs.", - action='store_true') - parser.add_argument( '--no-assets', help="Don't process assets (only pages).", action='store_true') def run(self, ctx): - if ctx.args.portable: - # Disable pretty URLs because there's likely not going to be - # a web server to handle serving default documents. - ctx.app.config.set('site/pretty_urls', False) - out_dir = (ctx.args.output or os.path.join(ctx.app.root_dir, '_counter')) @@ -74,7 +65,6 @@ baker = Baker( ctx.app, out_dir, force=ctx.args.force, - portable=ctx.args.portable, no_assets=ctx.args.no_assets, num_workers=num_workers) baker.bake()