Move download and download_sources to //tools

These are already named using the alias in the .buckconfig.  Moving
them down to tools allows their program to drop a visbility rule, and
shortens the top level file a bit.

Change-Id: I4193249c02850cb7aca3bf7fab81113c5f7b7d8b
This commit is contained in:
Shawn Pearce 2013-07-29 16:41:09 -07:00 committed by Dave Borowitz
parent bece831d3c
commit e31a767d39
3 changed files with 16 additions and 17 deletions

View File

@ -2,8 +2,8 @@
api = //:api
api_deploy = //tools/maven:deploy
api_install = //tools/maven:install
download = //:download
download_sources = //:download_sources
download = //tools:download
download_sources = //tools:download_sources
gerrit = //:gerrit
eclipse = //tools/eclipse:eclipse
eclipse_project = //tools/eclipse:eclipse_project

14
BUCK
View File

@ -72,17 +72,3 @@ java_binary(
] + [d + '-src' for d in PLUGIN_API],
visibility = ['//tools/maven:'],
)
genrule(
name = 'download',
cmd = '$(exe //tools:download_all)',
deps = ['//tools:download_all'],
out = '__fake.download__',
)
genrule(
name = 'download_sources',
cmd = '$(exe //tools:download_all) --src',
deps = ['//tools:download_all'],
out = '__fake.download__',
)

View File

@ -1,7 +1,20 @@
genrule(
name = 'download',
cmd = '$(exe :download_all)',
deps = [':download_all'],
out = '__fake.download__',
)
genrule(
name = 'download_sources',
cmd = '$(exe :download_all) --src',
deps = [':download_all'],
out = '__fake.download__',
)
python_binary(
name = 'download_all',
main = 'download_all.py',
visibility = ['PUBLIC'],
)
python_binary(