Skip to content
Snippets Groups Projects
Commit ef69bcc5 authored by nimrod's avatar nimrod
Browse files

A little cleanup of the tox and fabric commands.

parent 1b4c9ddf
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ def regenerate(): ...@@ -32,7 +32,7 @@ def regenerate():
local('pelican -r -s pelicanconf.py') local('pelican -r -s pelicanconf.py')
def serve(): def serve():
local('cd {deploy_path} && python -m SimpleHTTPServer'.format(**env)) local('cd {deploy_path} && python -m SimpleHTTPServer 8080'.format(**env))
def reserve(): def reserve():
build() build()
......
...@@ -10,10 +10,9 @@ deps = ...@@ -10,10 +10,9 @@ deps =
pelican pelican
commands = commands =
build: fab build build: fab build
serve: fab build serve serve: fab reserve
publish: fab publish publish:
publish: git push fab publish
git push
whitelist_externals = whitelist_externals =
ssh
rsync
git git
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment