Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pynt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
__version__ = "0.8.1"
__license__ = "MIT License"
__contact__ = "http://rags.github.com/pynt/"
from ._pynt import task, main
from ._pynt import task, main, build
import pkgutil

__path__ = pkgutil.extend_path(__path__,__name__)

__all__ = ["task", "main"]
__all__ = ["task", "main", "build"]
4 changes: 2 additions & 2 deletions pynt/_pynt.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def _run(module, logger, task, completed_tasks, from_command_line = False, args
# Satsify dependencies recursively. Maintain set of completed tasks so each
# task is only performed once.
for dependency in task.dependencies:
completed_tasks = _run(module,logger,dependency,completed_tasks)
completed_tasks = _run(module,logger,dependency,completed_tasks, from_command_line=False, args=args, kwargs=kwargs)

# Perform current task, if need to.
if from_command_line or task not in completed_tasks:
Expand Down Expand Up @@ -292,4 +292,4 @@ def _get_logger(module):
return logger

def main():
build(sys.argv[1:])
build(sys.argv[1:])