Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
add a function to the fabfile.py to build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anatskiy committed Jan 25, 2017
1 parent ebf3ba8 commit f23bae4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ def build_client():
local('sencha app build')


def build_docs():
with lcd('docs/'):
local('make clean')
local('make html')
local('open build/html/index.html')


@hosts(os.environ['FAB_HOST'])
def deploy():
branch = local('git rev-parse --abbrev-ref HEAD', capture=True)
Expand Down

0 comments on commit f23bae4

Please sign in to comment.