Commit ef69bcc5 authored by nimrod's avatar nimrod
Browse files

A little cleanup of the tox and fabric commands.

parent 1b4c9ddf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ def regenerate():
    local('pelican -r -s pelicanconf.py')

def serve():
    local('cd {deploy_path} && python -m SimpleHTTPServer'.format(**env))
    local('cd {deploy_path} && python -m SimpleHTTPServer 8080'.format(**env))

def reserve():
    build()
+4 −5
Original line number Diff line number Diff line
@@ -10,10 +10,9 @@ deps =
    pelican
commands =
    build: fab build
    serve: fab build serve
    publish: fab publish
    publish: git push
    serve: fab reserve
    publish:
        fab publish
        git push
whitelist_externals =
    ssh
    rsync
    git