diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-08-26 00:04:22 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-08-26 00:04:22 -0700 |
commit | 38332e0054eddbb0a0a9812894920e38a721eab2 (patch) | |
tree | 9a2ef8978428bf1b4baa595d0f4edaba310eb3b3 | |
parent | 1b69e0f4095883ef3f282552fde12dfb00ebdda4 (diff) |
Fix up release task
-rw-r--r-- | dev-requirements.txt | 2 | ||||
-rw-r--r-- | tasks.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt index 88a32964..19cf7503 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,7 +2,7 @@ tox>=1.4,<1.5 # For newer tasks like building Sphinx docs. # NOTE: Requires Python >=2.6 -invoke>=0.7.0 +invoke>=0.7.0,<0.8 invocations>=0.5.0 sphinx>=1.1.3 alabaster>=0.4.0 @@ -36,8 +36,10 @@ def coverage(ctx): # Until we stop bundling docs w/ releases. Need to discover use cases first. -@task('docs') # Will invoke the API doc site build +@task def release(ctx): + # Build docs first. Use terribad workaround pending invoke #146 + ctx.run("inv docs") # Move the built docs into where Epydocs used to live target = 'docs' rmtree(target, ignore_errors=True) |