Skip to content

Commit

Permalink
Add missing target for bash_completion task.
Browse files Browse the repository at this point in the history
Pushed TBR to fix build.

Testing Done:
CI passes: https://travis-ci.org/pantsbuild/pants/builds/65578880

Bugs closed: 1642

Reviewed at https://rbcommons.com/s/twitter/r/2326/
  • Loading branch information
benjyw authored and Benjy committed Jun 5, 2015
1 parent 781fce4 commit efa827b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/python/pants/backend/core/tasks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
target(
name = 'all',
dependencies = [
':bash_completion',
':builddictionary',
':changed_target_goals',
':clean',
Expand Down Expand Up @@ -42,6 +43,18 @@ target(
]
)

python_library(
name = 'bash_completion',
sources = ['bash_completion.py'],
dependencies = [
':console_task',
'src/python/pants/base:exceptions',
'src/python/pants/base:generator',
'src/python/pants/goal',
'src/python/pants/option',
],
)

python_library(
name = 'builddictionary',
sources = ['builddictionary.py'],
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/core/tasks/bash_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from pants.backend.core.tasks.console_task import ConsoleTask
from pants.base.exceptions import TaskError
from pants.base.generator import Generator, TemplateData
from pants.base.generator import Generator
from pants.goal.goal import Goal
from pants.option.arg_splitter import GLOBAL_SCOPE

Expand Down

0 comments on commit efa827b

Please sign in to comment.