blob: ee384a1f7740cb2e9088034bdd3bf4102d42f605 [file] [log] [blame]
python_binary(
name = 'download_all',
main = 'download_all.py',
visibility = ['PUBLIC'],
)
python_binary(
name = 'download_jar',
main = 'download_jar.py',
visibility = ['PUBLIC'],
)
python_binary(
name = 'pack_war',
main = 'pack_war.py',
visibility = ['PUBLIC'],
)
def shquote(s):
return s.replace("'", "'\\''")
def os_path():
from os import environ
return environ.get('PATH')
genrule(
name = 'buck.properties',
cmd = 'echo buck=`which buck`>$OUT;' +
("echo PATH=\''%s'\' >>$OUT;" % shquote(os_path())),
srcs = [],
deps = [],
out = 'buck.properties',
visibility = ['PUBLIC'],
)